Module Name: src
Committed By: christos
Date: Mon Oct 27 21:46:45 UTC 2014
Modified Files:
src/usr.sbin/mtree: getid.c
Log Message:
fix pasto; thanks John-Mark Gurney...
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/mtree/getid.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/mtree/getid.c
diff -u src/usr.sbin/mtree/getid.c:1.9 src/usr.sbin/mtree/getid.c:1.10
--- src/usr.sbin/mtree/getid.c:1.9 Sun Mar 30 20:00:22 2014
+++ src/usr.sbin/mtree/getid.c Mon Oct 27 17:46:45 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: getid.c,v 1.9 2014/03/31 00:00:22 christos Exp $ */
+/* $NetBSD: getid.c,v 1.10 2014/10/27 21:46:45 christos Exp $ */
/* from: NetBSD: getpwent.c,v 1.48 2000/10/03 03:22:26 enami Exp */
/* from: NetBSD: getgrent.c,v 1.41 2002/01/12 23:51:30 lukem Exp */
@@ -65,7 +65,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: getid.c,v 1.9 2014/03/31 00:00:22 christos Exp $");
+__RCSID("$NetBSD: getid.c,v 1.10 2014/10/27 21:46:45 christos Exp $");
#include <sys/param.h>
@@ -236,7 +236,7 @@ grscan(int search, gid_t gid, const char
continue;
}
/* skip comments */
- if (pwline[0] == '#')
+ if (grline[0] == '#')
continue;
if (grmatchline(search, gid, name))
return 1;