X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fcfg.h;h=64a4d3aee5aeb4034a4f199282ce854a0f43e937;hb=HEAD;hp=2e38933435094bb791d9a4b2d888245bf14236ce;hpb=23c77cc092dbbb1e12c47c2b0021d4476b543702;p=rrq%2Fmaintain_lilo.git diff --git a/src/cfg.h b/src/cfg.h index 2e38933..64a4d3a 100644 --- a/src/cfg.h +++ b/src/cfg.h @@ -2,7 +2,7 @@ * * Copyright 1992-1998 Werner Almesberger * Copyright 1999-2007 John Coffman - * Copyright 2009-2010 Joachim Wiedorn + * Copyright 2009-2011 Joachim Wiedorn * All rights reserved. * * Licensed under the terms contained in the file 'COPYING' @@ -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. */