* support/librarian/sdcclib.c: fixed warning:
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 26 Jun 2007 19:40:14 +0000 (19:40 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 26 Jun 2007 19:40:14 +0000 (19:40 +0000)
  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

ChangeLog
support/librarian/sdcclib.c

index e235e3a5d3522959d9df3ef5ec4be6c52e1c4bb9..6fc08cf0eaf7ed89ff6242a0ae6704a15835aaf5 100644 (file)
--- 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 <jesusc at ece.ubc.ca>
 
index 29c52557ea039601c4701db18a1bcfae106a0890..0ac4251c2eb4cbff0ef3eb695a88640f079c339f 100644 (file)
@@ -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;
     }