From 4507c82bcc4e0a0371f710238ccbb7f10724c404 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 11 Jul 1997 20:16:01 +0000 Subject: [PATCH] sprintf -> vsprintf --- usr.bin/make/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c index c0f2bedd58c4..00e911d3da66 100644 --- a/usr.bin/make/util.c +++ b/usr.bin/make/util.c @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.12 1997/07/01 21:17:44 christos Exp $ */ +/* $NetBSD: util.c,v 1.13 1997/07/11 20:16:01 christos Exp $ */ /* * Missing stuff from OS's @@ -6,7 +6,7 @@ #include #ifndef lint -__RCSID("$NetBSD: util.c,v 1.12 1997/07/01 21:17:44 christos Exp $"); +__RCSID("$NetBSD: util.c,v 1.13 1997/07/11 20:16:01 christos Exp $"); #endif #include @@ -393,7 +393,7 @@ vsnprintf(s, n, fmt, args) fakebuf._cnt = 0; return (n-fakebuf._cnt-1); #else - (void) sprintf(s, fmt, args); + (void) vsprintf(s, fmt, args); return strlen(s); #endif }