From b7362e36a80b639a64da3f662cbd0064038cad8a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 19 Jun 2000 17:52:17 +0000 Subject: printf now compiles cleanly under both libc5 and libc6. -Erik --- coreutils/printf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'coreutils/printf.c') diff --git a/coreutils/printf.c b/coreutils/printf.c index 4e9a94049..f57289759 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c @@ -57,7 +57,6 @@ #include #include #include -#include #ifndef S_IFMT @@ -171,7 +170,7 @@ int printf_main(int argc, char **argv) fprintf(stderr, "excess args ignored"); */ - exit(exit_status); + return(exit_status); } /* Print the text in FORMAT, using ARGV (with ARGC elements) for -- cgit v1.2.3