From: Jim Meyering Date: Sun, 30 Jul 2000 17:08:05 +0000 (+0000) Subject: Convert "`%s'" in format strings to "%s", and wrap each X-Git-Tag: TEXTUTILS-2_0g~57 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=614cf2b06b35d762ecd91fcedc9332777c793c10;p=thirdparty%2Fcoreutils.git Convert "`%s'" in format strings to "%s", and wrap each corresponding argument in a `quote (...)' call. --- diff --git a/src/cp-hash.c b/src/cp-hash.c index c919b04111..6658ca1693 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; }