diff options
-rw-r--r-- | namedev_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev_parse.c b/namedev_parse.c index a17c02e395..546d767aed 100644 --- a/namedev_parse.c +++ b/namedev_parse.c @@ -324,7 +324,7 @@ int namedev_init_permissions(void) dbg("cannot parse line '%s'", line); continue; } - strncpy(dev.group, temp2, sizeof(dev.owner)); + strncpy(dev.group, temp2, sizeof(dev.group)); if (!temp) { dbg("cannot parse line: %s", line); |