When using va_list, use vprintf, not printf.

This commit is contained in:
wiz 2001-09-20 22:11:30 +00:00
parent ec1f68e931
commit d0b8cdc6a9
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: panic.c,v 1.3 1999/02/12 05:14:23 cjs Exp $ */
/* $NetBSD: panic.c,v 1.4 2001/09/20 22:11:30 wiz Exp $ */
/*
* Copyright (c) 1996
@ -46,7 +46,7 @@ panic(const char *fmt,...)
va_start(ap, fmt);
printf(fmt, ap);
vprintf(fmt, ap);
printf("\n");
va_end(ap);