diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-30 17:08:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-30 17:08:05 +0000 |
commit | 614cf2b06b35d762ecd91fcedc9332777c793c10 (patch) | |
tree | 16f87bcf925e8b63c5f80d0be13225080e866c89 | |
parent | a73455fc197e4a68ebf2116e05fafb89bdafef13 (diff) | |
download | coreutils-614cf2b06b35d762ecd91fcedc9332777c793c10.tar.xz |
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
-rw-r--r-- | src/cp-hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c index c919b0411..6658ca169 100644 --- a/src/cp-hash.c +++ b/src/cp-hash.c @@ -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; } |