aboutsummaryrefslogtreecommitdiff
path: root/du.c
diff options
context:
space:
mode:
Diffstat (limited to 'du.c')
-rw-r--r--du.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/du.c b/du.c
index ac9f60689..be8fe5b11 100644
--- a/du.c
+++ b/du.c
@@ -60,8 +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 printf("du: %s: %s\n", filename, strerror(errno)); 63 perror_msg_and_die("%s:", filename);
64 return 0;
65 } 64 }
66 65
67 du_depth++; 66 du_depth++;
@@ -166,7 +165,7 @@ int du_main(int argc, char **argv)
166 return status; 165 return status;
167} 166}
168 167
169/* $Id: du.c,v 1.30 2000/12/09 17:07:12 andersen Exp $ */ 168/* $Id: du.c,v 1.31 2000/12/11 17:08:21 andersen Exp $ */
170/* 169/*
171Local Variables: 170Local Variables:
172c-file-style: "linux" 171c-file-style: "linux"