summaryrefslogtreecommitdiff
path: root/src/selinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/selinux.c')
-rw-r--r--src/selinux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/selinux.c b/src/selinux.c
index 99b1fb0bf..6479c9392 100644
--- a/src/selinux.c
+++ b/src/selinux.c
@@ -26,7 +26,6 @@
#include "canonicalize.h"
#include "dosname.h"
#include "xfts.h"
-#include "quote.h"
#include "selinux.h"
#if HAVE_SELINUX_SELINUX_H
@@ -125,7 +124,7 @@ defaultcon (char const *path, mode_t mode)
newpath = canonicalize_filename_mode (path, CAN_MISSING);
if (! newpath)
error (EXIT_FAILURE, errno, _("error canonicalizing %s"),
- quote (path));
+ quoteaf (path));
path = newpath;
}
@@ -298,7 +297,7 @@ restorecon (char const *path, bool recurse, bool local)
newpath = canonicalize_filename_mode (path, CAN_MISSING);
if (! newpath)
error (EXIT_FAILURE, errno, _("error canonicalizing %s"),
- quote (path));
+ quoteaf (path));
}
const char *ftspath[2] = { newpath ? newpath : path, NULL };