X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fcfg.h;h=acd0c0e4ec5c4278a6a6822bca607d89b108cae4;hb=4c40441b58cc78e33debffd93afa884a45136590;hp=2e38933435094bb791d9a4b2d888245bf14236ce;hpb=23c77cc092dbbb1e12c47c2b0021d4476b543702;p=rrq%2Fmaintain_lilo.git diff --git a/src/cfg.h b/src/cfg.h index 2e38933..acd0c0e 100644 --- a/src/cfg.h +++ b/src/cfg.h @@ -37,7 +37,7 @@ int cfg_open(char *name); /* Opens the configuration file. Returns the file descriptor of the open file. */ -void cfg_error(char *msg,...); +void cfg_error(char *msg,...) __attribute__ ((format (printf, 1, 2))); /* Signals an error while parsing the configuration file and terminates the program. */