From: borutr Date: Tue, 26 Jun 2007 19:40:14 +0000 (+0000) Subject: * support/librarian/sdcclib.c: fixed warning: X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=9cf5e3a5561b8e888d6dafcb00ac57d4de896dac;p=fw%2Fsdcc * support/librarian/sdcclib.c: fixed warning: format '%s' expects type 'char *', but argument 2 has type 'int' git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4862 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index e235e3a5..6fc08cf0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ testing functions, allowing return type 'void' in the same line as the function name in the function definition * support/regression/tests/bug-1654060.c: corrected test + * support/librarian/sdcclib.c: fixed warning: + format '%s' expects type 'char *', but argument 2 has type 'int' + 2007-06-25 Jesus Calvino-Fraga diff --git a/support/librarian/sdcclib.c b/support/librarian/sdcclib.c index 29c52557..0ac4251c 100644 --- a/support/librarian/sdcclib.c +++ b/support/librarian/sdcclib.c @@ -428,7 +428,7 @@ void ExtractRel(char * RelName) rel=fopen(RelName, "w"); if(rel==NULL) { - printf("ERROR: Couldn't create file '%s'\n", RelName[0]); + printf("ERROR: Couldn't create file '%s'\n", RelName); fclose(lib); return; }