* support/librarian/sdcclib.c: fixed warning:
[fw/sdcc] / support / librarian / sdcclib.c
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;
     }