summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-12-05 19:28:28 +0000
committerbde <bde@FreeBSD.org>1997-12-05 19:28:28 +0000
commitdbfaf6f7a4399cb21763df9e352f905004d2bc8d (patch)
tree00cf6d68766e8ec5d12a76d8be7dce7bec33e2e5 /usr.bin/vmstat/vmstat.c
parent40c3cb0b98b56afcbdc716f9398ac632dcdda05e (diff)
downloadFreeBSD-src-dbfaf6f7a4399cb21763df9e352f905004d2bc8d.zip
FreeBSD-src-dbfaf6f7a4399cb21763df9e352f905004d2bc8d.tar.gz
Const poisoning from ks_shortdesc.
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 8e587e5..204961a 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id: vmstat.c,v 1.20 1997/10/10 14:08:07 phk Exp $";
+ "$Id: vmstat.c,v 1.21 1997/10/10 18:19:48 phk Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -702,7 +702,7 @@ domem()
register int i, j;
int len, size, first, nkms;
long totuse = 0, totfree = 0, totreq = 0;
- char *name;
+ const char *name;
struct malloc_type kmemstats[200],*kmsp;
char *kmemnames[200];
char buf[1024];
OpenPOWER on IntegriCloud