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 16:34:48 +00:00
parent 381ba4a26a
commit c2c1f42b0b
+3 -2
View File
@@ -29,6 +29,7 @@
#include "system.h"
#include "error.h"
#include "quote.h"
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "rmdir"
@@ -126,7 +127,7 @@ remove_parents (char *path)
}
else
{
error (0, errno, "%s", path);
error (0, errno, "%s", quote (path));
}
break;
}
@@ -225,7 +226,7 @@ main (int argc, char **argv)
&& errno_rmdir_non_empty (errno))
continue;
error (0, errno, "%s", dir);
error (0, errno, "%s", quote (dir));
errors = 1;
}
else if (empty_paths)