Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/lib/libkvm Pull up revision 1.68 (requested by sommerfe...
details: https://anonhg.NetBSD.org/src/rev/936986ce429f
branches: netbsd-1-4
changeset: 470933:936986ce429f
user: he <he%NetBSD.org@localhost>
date: Wed Oct 04 16:22:12 2000 +0000
description:
Pull up revision 1.68 (requested by sommerfeld):
Format string audit.
diffstat:
lib/libkvm/kvm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c906efe17b86 -r 936986ce429f lib/libkvm/kvm.c
--- a/lib/libkvm/kvm.c Wed Oct 04 14:12:34 2000 +0000
+++ b/lib/libkvm/kvm.c Wed Oct 04 16:22:12 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm.c,v 1.63 1999/04/01 09:53:09 mycroft Exp $ */
+/* $NetBSD: kvm.c,v 1.63.2.1 2000/10/04 16:22:12 he Exp $ */
/*-
* Copyright (c) 1989, 1992, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)kvm.c 8.2 (Berkeley) 2/13/94";
#else
-__RCSID("$NetBSD: kvm.c,v 1.63 1999/04/01 09:53:09 mycroft Exp $");
+__RCSID("$NetBSD: kvm.c,v 1.63.2.1 2000/10/04 16:22:12 he Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -170,7 +170,7 @@
void *p;
if ((p = malloc(n)) == NULL)
- _kvm_err(kd, kd->program, strerror(errno));
+ _kvm_err(kd, kd->program, "%s", strerror(errno));
return (p);
}
Home |
Main Index |
Thread Index |
Old Index