From 8d6f4b8517e4e3b1844e3227b4cde4be423154b3 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 23 Oct 2016 20:35:45 +0000 Subject: Augment the chances LogOutOfMem() works in out-of-memory conditions. All instances are called with only one constant string so no need for varargs dance. --- app/xenodm/include/dm_error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/xenodm/include') diff --git a/app/xenodm/include/dm_error.h b/app/xenodm/include/dm_error.h index eecc14aa6..20aa00fba 100644 --- a/app/xenodm/include/dm_error.h +++ b/app/xenodm/include/dm_error.h @@ -39,7 +39,7 @@ extern void InitErrorLog (void); extern void LogAppend (const char * fmt, ...) _X_ATTRIBUTE_PRINTF(1,2); extern void LogError (const char * fmt, ...) _X_ATTRIBUTE_PRINTF(1,2); extern void LogInfo (const char * fmt, ...) _X_ATTRIBUTE_PRINTF(1,2); -extern void LogOutOfMem (const char * fmt, ...) _X_ATTRIBUTE_PRINTF(1,2); +extern void LogOutOfMem (const char * function); extern __dead void LogPanic (const char * fmt, ...) _X_ATTRIBUTE_PRINTF(1,2); -- cgit v1.2.3