summaryrefslogtreecommitdiffhomepage
path: root/tools/mrbc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-03-27 23:53:56 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-27 23:53:56 +0900
commit82991049beb1514dc2dcebe335444593e56ab49a (patch)
treeb590aa1e75eb6d59659dab499c5ebcf6007da946 /tools/mrbc
parent3dccd827616c7195ee26f8c0df9e7b70db5bb6af (diff)
downloadmruby-82991049beb1514dc2dcebe335444593e56ab49a.tar.gz
mruby-82991049beb1514dc2dcebe335444593e56ab49a.zip
replace non formatting printf to (f)puts
Diffstat (limited to 'tools/mrbc')
-rw-r--r--tools/mrbc/mrbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c
index 6535d5636..0aa54a468 100644
--- a/tools/mrbc/mrbc.c
+++ b/tools/mrbc/mrbc.c
@@ -182,7 +182,7 @@ main(int argc, char **argv)
mrb_value result;
if (mrb == NULL) {
- fprintf(stderr, "Invalid mrb_state, exiting mrbc");
+ fputs("Invalid mrb_state, exiting mrbc\n", stderr);
return EXIT_FAILURE;
}
@@ -204,7 +204,7 @@ main(int argc, char **argv)
return EXIT_FAILURE;
}
if (args.check_syntax) {
- printf("Syntax OK\n");
+ puts("Syntax OK");
cleanup(mrb, &args);
return EXIT_SUCCESS;
}