diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2010-02-14 23:04:39 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2010-02-14 23:04:39 +0100 |
commit | ee5803048cecea310be065e068cee40d08135ef9 (patch) | |
tree | e83e9acb4e8ca9e4a21deebc9982375d5118fc08 /examples/example1.c | |
parent | 9e41eb5e6272b6c08f79ee0cb73fd363dd1d30fd (diff) | |
download | librcc-ee5803048cecea310be065e068cee40d08135ef9.tar.gz librcc-ee5803048cecea310be065e068cee40d08135ef9.tar.bz2 librcc-ee5803048cecea310be065e068cee40d08135ef9.tar.xz librcc-ee5803048cecea310be065e068cee40d08135ef9.zip |
Fix printf format errors
Diffstat (limited to 'examples/example1.c')
-rw-r--r-- | examples/example1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example1.c b/examples/example1.c index ffbc3e0..90d0072 100644 --- a/examples/example1.c +++ b/examples/example1.c @@ -49,9 +49,9 @@ int main() { if (strlen(buf)<2) break; recoded = rccRecode(NULL, 0, 1, buf); if (recoded) { - printf(recoded); + printf("%s", recoded); free(recoded); - } else printf(buf); + } else printf("%s", buf); } rccFree(); |