summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm.old/kvm.c4
-rw-r--r--lib/libkvm/kvm.c6
2 files changed, 5 insertions, 5 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;
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c
index a81c27c5752..372db2b23cc 100644
--- a/lib/libkvm/kvm.c
+++ b/lib/libkvm/kvm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm.c,v 1.20 2001/01/04 21:51:04 todd Exp $ */
+/* $OpenBSD: kvm.c,v 1.21 2001/05/17 21:03:55 miod 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.20 2001/01/04 21:51:04 todd Exp $";
+static char *rcsid = "$OpenBSD: kvm.c,v 1.21 2001/05/17 21:03:55 miod Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -662,7 +662,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;