diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-03 03:12:17 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-03 03:12:17 +0000 |
commit | 4be31a2e9bcc8c75d1efa8db13618f34b2220ae2 (patch) | |
tree | 8a11d77f7346fff44c755c40e7c81b67f833edbf /usr.bin | |
parent | adca75bb9d39a97862be3ebcd53a34d2acc1c3d8 (diff) |
More format string paranoia; deraadt@ ok
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/vmstat/dkstats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vmstat/dkstats.c b/usr.bin/vmstat/dkstats.c index 44f22330101..7fda60a83a1 100644 --- a/usr.bin/vmstat/dkstats.c +++ b/usr.bin/vmstat/dkstats.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dkstats.c,v 1.7 2000/06/30 16:00:22 millert Exp $ */ +/* $OpenBSD: dkstats.c,v 1.8 2000/10/03 03:12:16 aaron Exp $ */ /* $NetBSD: dkstats.c,v 1.1 1996/05/10 23:19:27 thorpej Exp $ */ /* @@ -83,7 +83,7 @@ int *dk_select; char **dr_name; #define KVM_ERROR(_string) { \ - warnx((_string)); \ + warnx("%s", (_string)); \ errx(1, "%s", kvm_geterr(kd)); \ } |