diff options
Diffstat (limited to 'udev_config.c')
-rw-r--r-- | udev_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_config.c b/udev_config.c index 7d6bb77e5b..b6f578b27d 100644 --- a/udev_config.c +++ b/udev_config.c @@ -171,7 +171,7 @@ static int parse_config_file(void) if (bufline[0] == COMMENT_CHARACTER) continue; - strlcpy(line, bufline, count); + strlcpy(line, bufline, count+1); linepos = line; retval = get_key(&linepos, &variable, &value); |