mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
f37325abf9
- Switch to options helpers - Regenerate patches with `make makepatch`
12 lines
336 B
C
12 lines
336 B
C
--- main/console.c.orig 2003-06-06 21:59:49 UTC
|
|
+++ main/console.c
|
|
@@ -70,7 +70,7 @@ void con_printf(int priority, char *fmt,
|
|
va_list arglist;
|
|
char buffer[2048];
|
|
|
|
- if (priority <= ((int)con_threshold.value))
|
|
+ if (priority <= ((int)con_threshold.value) && fmt)
|
|
{
|
|
va_start (arglist, fmt);
|
|
vsprintf (buffer, fmt, arglist);
|