du.c error msg cleanup from Kent Robotti
authorEric Andersen <andersen@codepoet.org>
Tue, 12 Dec 2000 23:17:26 +0000 (23:17 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 12 Dec 2000 23:17:26 +0000 (23:17 -0000)
coreutils/du.c
du.c

index be8fe5b1198946df9770313f02acb102f6e6392c..a04dba6d3677befedd5add3c2ed4ccb974f32cf5 100644 (file)
@@ -60,7 +60,7 @@ static long du(char *filename)
        int len;
 
        if ((lstat(filename, &statbuf)) != 0) {
-               perror_msg_and_die("%s:", filename);
+               perror_msg_and_die("%s", filename);
        }
 
        du_depth++;
@@ -165,7 +165,7 @@ int du_main(int argc, char **argv)
        return status;
 }
 
-/* $Id: du.c,v 1.31 2000/12/11 17:08:21 andersen Exp $ */
+/* $Id: du.c,v 1.32 2000/12/12 23:17:26 andersen Exp $ */
 /*
 Local Variables:
 c-file-style: "linux"
diff --git a/du.c b/du.c
index be8fe5b1198946df9770313f02acb102f6e6392c..a04dba6d3677befedd5add3c2ed4ccb974f32cf5 100644 (file)
--- a/du.c
+++ b/du.c
@@ -60,7 +60,7 @@ static long du(char *filename)
        int len;
 
        if ((lstat(filename, &statbuf)) != 0) {
-               perror_msg_and_die("%s:", filename);
+               perror_msg_and_die("%s", filename);
        }
 
        du_depth++;
@@ -165,7 +165,7 @@ int du_main(int argc, char **argv)
        return status;
 }
 
-/* $Id: du.c,v 1.31 2000/12/11 17:08:21 andersen Exp $ */
+/* $Id: du.c,v 1.32 2000/12/12 23:17:26 andersen Exp $ */
 /*
 Local Variables:
 c-file-style: "linux"