diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-23 06:59:43 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-23 06:59:43 +0000 |
commit | 75940c9e69bb3058f1b25fd21373ce0984859167 (patch) | |
tree | 80565a1d49252336dedb4ce6b0a85fa510aff34d /lib | |
parent | 2d3dbba519de058144ca2c9426a4a8313cd25fc8 (diff) |
Format string paranoia; deraadt@ ok
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkvm/kvm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 0090da6bb33..4d2d28e7edb 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.c,v 1.17 1998/10/28 19:47:00 marc Exp $ */ +/* $OpenBSD: kvm.c,v 1.18 2000/10/23 06:59:42 aaron Exp $ */ /* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */ /*- @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)kvm.c 8.2 (Berkeley) 2/13/94"; #else -static char *rcsid = "$OpenBSD: kvm.c,v 1.17 1998/10/28 19:47:00 marc Exp $"; +static char *rcsid = "$OpenBSD: kvm.c,v 1.18 2000/10/23 06:59:42 aaron Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -172,7 +172,7 @@ _kvm_malloc(kd, n) void *p; if ((p = malloc(n)) == NULL) - _kvm_err(kd, kd->program, strerror(errno)); + _kvm_err(kd, kd->program, "%s", strerror(errno)); return (p); } |