X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=du.c;h=b1ca954366159d6b6738fae05761b8428cd853a5;hb=fad04fdd12604a46eff62875343515c33e1863c6;hp=9c699978e7c33c8416042129d12e4d789a06f181;hpb=59b9e870243c56a9c5ec045a925e4e9b3f1f6c3c;p=oweals%2Fbusybox.git diff --git a/du.c b/du.c index 9c699978e..b1ca95436 100644 --- a/du.c +++ b/du.c @@ -108,7 +108,7 @@ static long du(char *filename) } if (len + strlen(name) + 1 > BUFSIZ) { - fprintf(stderr, name_too_long, "du"); + errorMsg(name_too_long); du_depth--; return 0; } @@ -158,7 +158,7 @@ int du_main(int argc, char **argv) usage(du_usage); break; default: - fprintf(stderr, "du: invalid option -- %c\n", opt); + errorMsg("invalid option -- %c\n", opt); usage(du_usage); } } else { @@ -181,10 +181,10 @@ int du_main(int argc, char **argv) } } - exit(0); + return(0); } -/* $Id: du.c,v 1.19 2000/05/10 05:05:45 erik Exp $ */ +/* $Id: du.c,v 1.21 2000/07/14 01:51:25 kraai Exp $ */ /* Local Variables: c-file-style: "linux"