summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dmesg/dmesg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c
index 6bd9c0555f7..d721c99ade4 100644
--- a/sbin/dmesg/dmesg.c
+++ b/sbin/dmesg/dmesg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dmesg.c,v 1.20 2006/12/24 00:47:27 djm Exp $ */
+/* $OpenBSD: dmesg.c,v 1.21 2008/10/17 18:49:50 deraadt Exp $ */
/* $NetBSD: dmesg.c,v 1.8 1995/03/18 14:54:49 cgd Exp $ */
/*-
@@ -63,7 +63,7 @@ main(int argc, char *argv[])
int ch, newl, skip, i;
char *p;
struct msgbuf cur;
- char *memf, *nlistf, *bufdata;
+ char *memf, *nlistf, *bufdata = NULL;
char buf[5];
memf = nlistf = NULL;