1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-17 17:08:20 +02:00

Convert "`%s'" in format strings to "%s", and wrap each

corresponding argument in a `quote (...)' call.
This commit is contained in:
Jim Meyering
2000-07-30 17:08:05 +00:00
parent a73455fc19
commit 614cf2b06b
+2 -1
View 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;
}