aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-12 23:17:26 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-12 23:17:26 +0000
commitb12e506d8d0f3c8551bb1fed3234602f11b7b3fe (patch)
tree0e4307f1c539871e6032049a94243b1c1dac9a15
parent69a6b2d4aef2028a963751a2105d55a305d046ba (diff)
downloadbusybox-w32-b12e506d8d0f3c8551bb1fed3234602f11b7b3fe.tar.gz
busybox-w32-b12e506d8d0f3c8551bb1fed3234602f11b7b3fe.tar.bz2
busybox-w32-b12e506d8d0f3c8551bb1fed3234602f11b7b3fe.zip
du.c error msg cleanup from Kent Robotti
-rw-r--r--coreutils/du.c4
-rw-r--r--du.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/du.c b/coreutils/du.c
index be8fe5b11..a04dba6d3 100644
--- a/coreutils/du.c
+++ b/coreutils/du.c
@@ -60,7 +60,7 @@ static long du(char *filename)
60 int len; 60 int len;
61 61
62 if ((lstat(filename, &statbuf)) != 0) { 62 if ((lstat(filename, &statbuf)) != 0) {
63 perror_msg_and_die("%s:", filename); 63 perror_msg_and_die("%s", filename);
64 } 64 }
65 65
66 du_depth++; 66 du_depth++;
@@ -165,7 +165,7 @@ int du_main(int argc, char **argv)
165 return status; 165 return status;
166} 166}
167 167
168/* $Id: du.c,v 1.31 2000/12/11 17:08:21 andersen Exp $ */ 168/* $Id: du.c,v 1.32 2000/12/12 23:17:26 andersen Exp $ */
169/* 169/*
170Local Variables: 170Local Variables:
171c-file-style: "linux" 171c-file-style: "linux"
diff --git a/du.c b/du.c
index be8fe5b11..a04dba6d3 100644
--- a/du.c
+++ b/du.c
@@ -60,7 +60,7 @@ static long du(char *filename)
60 int len; 60 int len;
61 61
62 if ((lstat(filename, &statbuf)) != 0) { 62 if ((lstat(filename, &statbuf)) != 0) {
63 perror_msg_and_die("%s:", filename); 63 perror_msg_and_die("%s", filename);
64 } 64 }
65 65
66 du_depth++; 66 du_depth++;
@@ -165,7 +165,7 @@ int du_main(int argc, char **argv)
165 return status; 165 return status;
166} 166}
167 167
168/* $Id: du.c,v 1.31 2000/12/11 17:08:21 andersen Exp $ */ 168/* $Id: du.c,v 1.32 2000/12/12 23:17:26 andersen Exp $ */
169/* 169/*
170Local Variables: 170Local Variables:
171c-file-style: "linux" 171c-file-style: "linux"