diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-11-18 20:22:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-11-18 20:22:46 +0000 |
commit | e14083d4ddfd218f41de29932814531200331787 (patch) | |
tree | 38c5139c2bf004aef884a0d939aec367eae69c05 /sbin/mount/getmntopts.c | |
parent | a1fecd56a4cc8f113f79d0a3febf09239c48365e (diff) |
fix a typo and earn a minor style point; Michael Knudsen
Diffstat (limited to 'sbin/mount/getmntopts.c')
-rw-r--r-- | sbin/mount/getmntopts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c index acb431ebb88..100740f0b94 100644 --- a/sbin/mount/getmntopts.c +++ b/sbin/mount/getmntopts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getmntopts.c,v 1.2 1996/06/23 14:31:10 deraadt Exp $ */ +/* $OpenBSD: getmntopts.c,v 1.3 2002/11/18 20:22:45 millert Exp $ */ /* $NetBSD: getmntopts.c,v 1.3 1995/03/18 14:56:58 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)getmntopts.c 8.1 (Berkeley) 3/27/94"; #else -static char rcsid[] = "$OpenBSD: getmntopts.c,v 1.2 1996/06/23 14:31:10 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: getmntopts.c,v 1.3 2002/11/18 20:22:45 millert Exp $"; #endif #endif /* not lint */ @@ -80,7 +80,7 @@ getmntopts(options, m0, flagp) * ignore the assignment as it's handled elsewhere */ p = strchr(opt, '='); - if (p) + if (p != NULL) *p = '\0'; /* Scan option table. */ |