summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannal@us.ibm.com <hannal@us.ibm.com>2004-01-16 00:22:56 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:17 -0700
commiteb7a964a7c66e5aff8147026a60c99258454b612 (patch)
treefc097d0c52cd9c9a253a051d420bfb735cf848ce
parent0523018487a60ad817556af30632a212ad3351e0 (diff)
[PATCH] small cut n paste error fix
-rw-r--r--namedev_parse.c2
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);