Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mtree fix pasto; thanks John-Mark Gurney...



details:   https://anonhg.NetBSD.org/src/rev/bd42acc9f501
branches:  trunk
changeset: 803439:bd42acc9f501
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 27 21:46:45 2014 +0000

description:
fix pasto; thanks John-Mark Gurney...

diffstat:

 usr.sbin/mtree/getid.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 67a714c4f1cb -r bd42acc9f501 usr.sbin/mtree/getid.c
--- a/usr.sbin/mtree/getid.c    Mon Oct 27 21:28:58 2014 +0000
+++ b/usr.sbin/mtree/getid.c    Mon Oct 27 21:46:45 2014 +0000
@@ -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 @@
                        continue;
                }
                /* skip comments */
-               if (pwline[0] == '#')
+               if (grline[0] == '#')
                        continue;
                if (grmatchline(search, gid, name))
                        return 1;



Home | Main Index | Thread Index | Old Index