From f2a2f9cb4c94fb57389fe2e4eafe5ae1ffc3d5ed Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Tue, 1 Sep 2015 13:59:11 +0200 Subject: [PATCH] s/puts/printf/ --- ocat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocat.c b/ocat.c index 6d8e78a..efa57a5 100644 --- a/ocat.c +++ b/ocat.c @@ -255,7 +255,7 @@ int main(int argc, char **argv) // } js = json_stringify(obj, " "); - puts(js); + printf("%s\n", js); free(js); json_delete(obj); }