]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Convert "`%s'" in format strings to "%s", and wrap each
authorJim Meyering <jim@meyering.net>
Sun, 30 Jul 2000 17:08:05 +0000 (17:08 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Jul 2000 17:08:05 +0000 (17:08 +0000)
corresponding argument in a `quote (...)' call.

src/cp-hash.c

index c919b0411185eeae26068609709891f9c985158c..6658ca1693a1e5ac6a5781567b86eb89d43609a7 100644 (file)
@@ -27,6 +27,7 @@
 #include "system.h"
 #include "error.h"
 #include "cp-hash.h"
+#include "quote.h"
 
 struct entry
 {
@@ -60,7 +61,7 @@ remember_created (const char *path)
 
   if (stat (path, &sb) < 0)
     {
-      error (0, errno, "%s", path);
+      error (0, errno, "%s", quote (path));
       return 1;
     }