diff options
author | Peter Jones <pjones@redhat.com> | 2006-07-18 02:18:11 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-07-18 02:18:11 +0000 |
commit | 9ba0ffafac530c5c74aabac04e8a53a35265d304 (patch) | |
tree | af00f88ab5e0abce428f7ef38830b201499fc8b6 /loader2/log.h | |
parent | 9f26a0966b93fc374caed6c5c99ecbac7341c2c2 (diff) | |
download | anaconda-9ba0ffafac530c5c74aabac04e8a53a35265d304.tar.gz anaconda-9ba0ffafac530c5c74aabac04e8a53a35265d304.tar.xz anaconda-9ba0ffafac530c5c74aabac04e8a53a35265d304.zip |
- make nashHotplugLogger use logMessageV()
Diffstat (limited to 'loader2/log.h')
-rw-r--r-- | loader2/log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/loader2/log.h b/loader2/log.h index 48e64c2f1..a3a366175 100644 --- a/loader2/log.h +++ b/loader2/log.h @@ -2,6 +2,7 @@ #define _LOG_H_ #include <stdio.h> +#include <stdarg.h> #define DEBUGLVL 10 #define INFO 20 @@ -9,6 +10,8 @@ #define ERROR 40 #define CRITICAL 50 +void logMessageV(int level, const char * s, va_list ap) + __attribute__ ((format (printf, 2, 0))); void logMessage(int level, const char * s, ...) __attribute__ ((format (printf, 2, 3))); void openLog(int useLocal); |