From: Jim Meyering Date: Wed, 22 Jun 2005 15:25:23 +0000 (+0000) Subject: Include "quotearg.h", not "quote.h". X-Git-Tag: CPPI-1_12~537 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ae691435641f8384af9144a5aaff23745bc72d6;p=thirdparty%2Fcoreutils.git Include "quotearg.h", not "quote.h". (remove_parents, main): Use quotearg_colon, not quote. --- diff --git a/src/rmdir.c b/src/rmdir.c index 812f0aa669..79b00b6f14 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)