From: hannal@us.ibm.com Date: Fri, 16 Jan 2004 08:22:56 +0000 (-0800) Subject: [PATCH] small cut n paste error fix X-Git-Tag: 014~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb7a964a7c66e5aff8147026a60c99258454b612;p=systemd [PATCH] small cut n paste error fix --- diff --git a/namedev_parse.c b/namedev_parse.c index a17c02e3..546d767a 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);