]> err.no Git - systemd/commitdiff
[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 a17c02e395d8054d4cd42a25316ca03fb1a8af9d..546d767aed6a665f55cd9156adac6a6f3cc035d8 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);