diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/log.c b/mdk-stage1/log.c index e41653305..a4b97c988 100644 --- a/mdk-stage1/log.c +++ b/mdk-stage1/log.c @@ -60,6 +60,8 @@ void vlog_message(const char * s, va_list args) void log_message(const char * s, ...) { va_list args; + if (!s) + return; va_start(args, s); vlog_message(s, args); va_end(args); |