diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-10-23 20:35:45 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-14 15:52:34 +0200 |
commit | df8b96022651016b87a9226f844037ea4131fd0f (patch) | |
tree | 8dac64ad26324a7f919eb0d15d67a87d94d30d99 /include | |
parent | a37640ff41319598370ed1430991fdd4836e1517 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/dm_error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm_error.h b/include/dm_error.h index eecc14a..20aa00f 100644 --- a/include/dm_error.h +++ b/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); |