summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/log.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-03-18 22:09:25 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-03-18 22:09:25 +0000
commit9198ef4d82decfebda42f6eec98e51b100f3f834 (patch)
treeffc094244efd80563cbf32e461abbb695dab6130 /mdk-stage1/log.h
parent483f665e8a7772bf899f89bbc3cb457d49002890 (diff)
downloaddrakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.gz
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.bz2
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.xz
drakx-9198ef4d82decfebda42f6eec98e51b100f3f834.zip
use some help with __attribute__
Diffstat (limited to 'mdk-stage1/log.h')
-rw-r--r--mdk-stage1/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/log.h b/mdk-stage1/log.h
index fcc641ad9..90aa3f6e6 100644
--- a/mdk-stage1/log.h
+++ b/mdk-stage1/log.h
@@ -25,7 +25,7 @@
#include <stdarg.h>
-void log_message(const char * s, ...);
+void log_message(const char * s, ...) __attribute__ ((format (printf, 1, 2)));
void vlog_message(const char * s, va_list args);
void log_perror(char *msg);
void open_log(void);