]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blobdiff - hfile2array/hfile2array.c
MCSDK 3.0: add KS2 IBL build scripts
[keystone-rtos/mcsdk-tools.git] / hfile2array / hfile2array.c
index 765821fca0add009c1baa84d172d3c08d2d4d490..0414afa9e371586fa3a926a2d3f14e6649271dcc 100644 (file)
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
         {
             if (fputs(line, out) < 0)
             {
-                printf ("fputs %s error\n", fputs);
+                printf ("fputs %s error\n", line);
                 goto error;
             }
         }
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
 
     if (fputs("};\n", out) < 0)
     {
-        printf ("fputs %s error\n", fputs);
+        printf ("fputs };\\n error\n");
         goto error;
     }