Use errorMsg rather than fprintf.
diff --git a/coreutils/du.c b/coreutils/du.c
index b8e296d..b1ca954 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -108,7 +108,7 @@
}
if (len + strlen(name) + 1 > BUFSIZ) {
- fprintf(stderr, name_too_long, "du");
+ errorMsg(name_too_long);
du_depth--;
return 0;
}
@@ -158,7 +158,7 @@
usage(du_usage);
break;
default:
- fprintf(stderr, "du: invalid option -- %c\n", opt);
+ errorMsg("invalid option -- %c\n", opt);
usage(du_usage);
}
} else {
@@ -184,7 +184,7 @@
return(0);
}
-/* $Id: du.c,v 1.20 2000/06/19 17:25:39 andersen Exp $ */
+/* $Id: du.c,v 1.21 2000/07/14 01:51:25 kraai Exp $ */
/*
Local Variables:
c-file-style: "linux"