diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-02 22:02:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-07-02 22:02:07 +0000 |
commit | 2a0d0b0dcde97a1af9fc38df675ed373351cb457 (patch) | |
tree | 056f5abc17b67f9c9a0c4d2ab331146666300071 /sbin | |
parent | 253f7ed658200f6444241244b303af83370f3e55 (diff) |
some data structures were still present when NOKVM was defined
Diffstat (limited to 'sbin')
-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); |