From 00f67792d02e4de6292205a8ae45d4769efb85b5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 17 May 2001 21:03:56 +0000 Subject: Repair a fprintf message lacking one parameter. Found by having a look at the recent TPE patches, which fixes libkvm but not libkvm.old... --- lib/libkvm.old/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libkvm.old') 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; -- cgit v1.2.3