summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-22 15:25:23 +0000
committerJim Meyering <jim@meyering.net>2005-06-22 15:25:23 +0000
commit4ae691435641f8384af9144a5aaff23745bc72d6 (patch)
treeac32152acbcf6001c8587c7f20cfd770924b935e
parentfd78e6606721b0e80e933d9d14f01189dc195748 (diff)
downloadcoreutils-4ae691435641f8384af9144a5aaff23745bc72d6.tar.xz
Include "quotearg.h", not "quote.h".
(remove_parents, main): Use quotearg_colon, not quote.
-rw-r--r--src/rmdir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rmdir.c b/src/rmdir.c
index 812f0aa66..79b00b6f1 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -30,7 +30,7 @@
#include "system.h"
#include "dirname.h"
#include "error.h"
-#include "quote.h"
+#include "quotearg.h"
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "rmdir"
@@ -128,7 +128,7 @@ remove_parents (char *dir)
}
else
{
- error (0, errno, "%s", quote (dir));
+ error (0, errno, "%s", quotearg_colon (dir));
}
break;
}
@@ -220,7 +220,7 @@ main (int argc, char **argv)
&& errno_rmdir_non_empty (errno))
continue;
- error (0, errno, "%s", quote (dir));
+ error (0, errno, "%s", quotearg_colon (dir));
ok = false;
}
else if (remove_empty_parents)