From c7deb4f2b7fab8f1c9ca06b5a4bf7ec37562beca Mon Sep 17 00:00:00 2001 From: FRIGN Date: Tue, 17 Mar 2015 21:43:01 +0100 Subject: [PATCH] Audit printf(1) Not a lot to do here, I wrote this less than a month ago. The only thing I missed was the newline before return. --- README | 2 +- printf.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index ec71a7f..0ba3392 100644 --- a/README +++ b/README @@ -53,7 +53,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support, =*| nohup yes none #*| paste yes none =*| printenv non-posix none -#* printf yes none +#*| printf yes none =*| pwd yes none = readlink non-posix none =* renice yes none diff --git a/printf.c b/printf.c index 4517d36..c87cfcb 100644 --- a/printf.c +++ b/printf.c @@ -148,5 +148,6 @@ main(int argc, char *argv[]) if (argi >= argc) cooldown = 1; } + return 0; }