=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vmstat/vmstat.c,v retrieving revision 1.98 retrieving revision 1.99 diff -c -r1.98 -r1.99 *** src/usr.bin/vmstat/vmstat.c 2006/01/31 18:24:56 1.98 --- src/usr.bin/vmstat/vmstat.c 2006/02/11 16:46:59 1.99 *************** *** 1,5 **** /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ ! /* $OpenBSD: vmstat.c,v 1.98 2006/01/31 18:24:56 mickey Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 --- 1,5 ---- /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ ! /* $OpenBSD: vmstat.c,v 1.99 2006/02/11 16:46:59 martin Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 *************** *** 40,46 **** #if 0 static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93"; #else ! static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.98 2006/01/31 18:24:56 mickey Exp $"; #endif #endif /* not lint */ --- 40,46 ---- #if 0 static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93"; #else ! static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.99 2006/02/11 16:46:59 martin Exp $"; #endif #endif /* not lint */ *************** *** 92,97 **** --- 92,98 ---- { "_nselcoll" }, #define X_POOLHEAD 7 /* sysctl */ { "_pool_head" }, + { "" }, }; struct nlist namelist2[] = { *************** *** 1144,1155 **** } /* ! * kread reads something from the kernel, given its nlist index. */ int kreado(struct nlist *nl, void *addr, size_t size) { - char *sym; int c; if ((c = kvm_nlist(kd, nl)) != 0) --- 1145,1155 ---- } /* ! * kreado reads something from the kernel, given its nlist index. */ int kreado(struct nlist *nl, void *addr, size_t size) { int c; if ((c = kvm_nlist(kd, nl)) != 0)