diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2003-12-10 19:24:11 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2003-12-10 19:24:11 +0000 |
| commit | e38926c160fd4d402ed85778d773158f3ece491c (patch) | |
| tree | d6c5247f1776e3b2534e2184316a011adf4720fa /usr.bin/vmstat | |
| parent | 4d5f2cbbd6c9128044c576b3bb4d3e26ef228e56 (diff) | |
Notes
Diffstat (limited to 'usr.bin/vmstat')
| -rw-r--r-- | usr.bin/vmstat/vmstat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 61bcbde9f838..6c8ee6ce61b4 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -148,7 +148,7 @@ static void doforkst(void); static void domem(void); static void dointr(void); static void dosum(void); -static void dosysctl(char *); +static void dosysctl(const char *); static void dovmstat(u_int, int); static void dozmem(void); static void kread(int, void *, size_t); @@ -836,8 +836,7 @@ dointr(void) { u_long *intrcnt, uptime; u_int64_t inttotal; - size_t clen, nintr, inamlen; - int i, istrnamlen; + size_t clen, nintr, inamlen, i, istrnamlen; char *intrname, *tintrname; uptime = getuptime(); @@ -915,7 +914,7 @@ dozmem(void) } static void -dosysctl(char *name) +dosysctl(const char *name) { char *buf; size_t bufsize; |
