diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-18 22:09:25 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-18 22:09:25 +0000 |
commit | 9198ef4d82decfebda42f6eec98e51b100f3f834 (patch) | |
tree | ffc094244efd80563cbf32e461abbb695dab6130 /mdk-stage1/log.h | |
parent | 483f665e8a7772bf899f89bbc3cb457d49002890 (diff) | |
download | drakx-backup-do-not-use-9198ef4d82decfebda42f6eec98e51b100f3f834.tar drakx-backup-do-not-use-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.gz drakx-backup-do-not-use-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.bz2 drakx-backup-do-not-use-9198ef4d82decfebda42f6eec98e51b100f3f834.tar.xz drakx-backup-do-not-use-9198ef4d82decfebda42f6eec98e51b100f3f834.zip |
use some help with __attribute__
Diffstat (limited to 'mdk-stage1/log.h')
-rw-r--r-- | mdk-stage1/log.h | 2 |
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); |