summaryrefslogtreecommitdiff
path: root/usr.bin/kdump
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 /usr.bin/kdump
parentecdee9dbaa69f9aa6f959777e5e515c31bb6a0f8 (diff)
Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'
for chars.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 5cc7f27ab55..cae3ea7830d 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.48 2011/04/05 15:24:32 guenther Exp $ */
+/* $OpenBSD: kdump.c,v 1.49 2011/04/06 11:36:26 miod Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -96,7 +96,7 @@ static struct emulation emulations[] = {
{ "native", syscallnames, SYS_MAXSYSCALL },
{ "linux", linux_syscallnames, LINUX_SYS_MAXSYSCALL },
{ "svr4", svr4_syscallnames, SVR4_SYS_MAXSYSCALL },
- { NULL, NULL, NULL }
+ { NULL, NULL, 0 }
};
struct emulation *current;