diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-05-17 21:03:56 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-05-17 21:03:56 +0000 |
commit | 00f67792d02e4de6292205a8ae45d4769efb85b5 (patch) | |
tree | 242d0af643a55e822d913a317f600ac0232bce24 /lib/libkvm.old/kvm.c | |
parent | ee2fd913de06c461fa096150b9d41d2a4e29d43a (diff) |
Repair a fprintf message lacking one parameter.
Found by having a look at the recent TPE patches, which fixes libkvm
but not libkvm.old...
Diffstat (limited to 'lib/libkvm.old/kvm.c')
-rw-r--r-- | lib/libkvm.old/kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm.old/kvm.c b/lib/libkvm.old/kvm.c index f9f4e868ab8..ba48fa8f5c6 100644 --- a/lib/libkvm.old/kvm.c +++ b/lib/libkvm.old/kvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.c,v 1.12 2001/01/04 21:51:04 todd Exp $ */ +/* $OpenBSD: kvm.c,v 1.13 2001/05/17 21:03:49 miod Exp $ */ /* $NetBSD: kvm.c,v 1.2 1996/05/13 02:30:22 thorpej Exp $ */ /*- @@ -310,7 +310,7 @@ kvm_open(uf, mf, sf, flag, program) register kvm_t *kd; if ((kd = malloc(sizeof(*kd))) == NULL && program != NULL) { - (void)fprintf(stderr, "%s: %s\n", strerror(errno)); + (void)fprintf(stderr, "%s: %s\n", program, strerror(errno)); return (0); } kd->program = program; |