chiark / gitweb /
[PATCH] small cut n paste error fix
authorhannal@us.ibm.com <hannal@us.ibm.com>
Fri, 16 Jan 2004 08:22:56 +0000 (00:22 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:17 +0000 (21:13 -0700)
namedev_parse.c

index a17c02e..546d767 100644 (file)
@@ -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);