Imported Upstream version 23.2
[rrq/maintain_lilo.git] / src / cfg.h
index 2e38933435094bb791d9a4b2d888245bf14236ce..acd0c0e4ec5c4278a6a6822bca607d89b108cae4 100644 (file)
--- 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. */