diff options
-rw-r--r-- | sbin/dmesg/dmesg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c index d721c99ade4..f9adf239c53 100644 --- a/sbin/dmesg/dmesg.c +++ b/sbin/dmesg/dmesg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dmesg.c,v 1.21 2008/10/17 18:49:50 deraadt Exp $ */ +/* $OpenBSD: dmesg.c,v 1.22 2010/07/02 22:02:06 deraadt Exp $ */ /* $NetBSD: dmesg.c,v 1.8 1995/03/18 14:54:49 cgd Exp $ */ /*- @@ -46,11 +46,13 @@ #include <unistd.h> #include <vis.h> +#ifndef NOKVM struct nlist nl[] = { #define X_MSGBUF 0 { "_msgbufp" }, { NULL }, }; +#endif void usage(void); |