From dbfaf6f7a4399cb21763df9e352f905004d2bc8d Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 5 Dec 1997 19:28:28 +0000 Subject: Const poisoning from ks_shortdesc. --- usr.bin/vmstat/vmstat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/vmstat/vmstat.c') 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 @@ -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]; -- cgit v1.1