summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Pang2011-10-21 16:54:20 -0500
committerIvan Pang2011-10-21 16:54:20 -0500
commita2ea0152aedf19f939c545d3c692728a8010fea4 (patch)
tree9fbf164b1988d972bc455871caf8062babdc5b37 /hfile2array
parentabf260d446cec73c782f2dd410deeb717ca3b07d (diff)
downloadmcsdk-tools-a2ea0152aedf19f939c545d3c692728a8010fea4.tar.gz
mcsdk-tools-a2ea0152aedf19f939c545d3c692728a8010fea4.tar.xz
mcsdk-tools-a2ea0152aedf19f939c545d3c692728a8010fea4.zip
POST updates; eepromwriter now supports .bin instead of .dat
Diffstat (limited to 'hfile2array')
-rw-r--r--hfile2array/hfile2array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hfile2array/hfile2array.c b/hfile2array/hfile2array.c
index 765821f..0414afa 100644
--- a/hfile2array/hfile2array.c
+++ b/hfile2array/hfile2array.c
@@ -110,7 +110,7 @@ int main(int argc, char **argv)
110 { 110 {
111 if (fputs(line, out) < 0) 111 if (fputs(line, out) < 0)
112 { 112 {
113 printf ("fputs %s error\n", fputs); 113 printf ("fputs %s error\n", line);
114 goto error; 114 goto error;
115 } 115 }
116 } 116 }
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
123 123
124 if (fputs("};\n", out) < 0) 124 if (fputs("};\n", out) < 0)
125 { 125 {
126 printf ("fputs %s error\n", fputs); 126 printf ("fputs };\\n error\n");
127 goto error; 127 goto error;
128 } 128 }
129 129