summaryrefslogtreecommitdiff
path: root/sbin/mount/mount.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-06 11:36:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-06 11:36:27 +0000
commite2ddf551fe54f5fd63dbb0131d6835d07f172753 (patch)
treeee263115c37260360e628dc4fc5e029d18e30311 /sbin/mount/mount.c
parentecdee9dbaa69f9aa6f959777e5e515c31bb6a0f8 (diff)
Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'
for chars.
Diffstat (limited to 'sbin/mount/mount.c')
-rw-r--r--sbin/mount/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index ddad3f35ed2..8f156df3998 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.c,v 1.50 2009/10/27 23:59:33 deraadt Exp $ */
+/* $OpenBSD: mount.c,v 1.51 2011/04/06 11:36:26 miod Exp $ */
/* $NetBSD: mount.c,v 1.24 1995/11/18 03:34:29 cgd Exp $ */
/*
@@ -93,7 +93,7 @@ static struct opt {
{ MNT_ROOTFS, 1, "root file system", "" },
{ MNT_SYNCHRONOUS, 0, "synchronous", "sync" },
{ MNT_SOFTDEP, 0, "softdep", "softdep" },
- { NULL, 0, "", "" }
+ { 0, 0, "", "" }
};
int