summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fold.c b/src/fold.c
index 2f917f400..4a445d50b 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -25,7 +25,6 @@
#include "system.h"
#include "error.h"
#include "fadvise.h"
-#include "quote.h"
#include "xdectoint.h"
#define TAB_WIDTH 8
@@ -137,7 +136,7 @@ fold_file (char const *filename, size_t width)
if (istream == NULL)
{
- error (0, errno, "%s", quote (filename));
+ error (0, errno, "%s", quotef (filename));
return false;
}
@@ -222,14 +221,14 @@ fold_file (char const *filename, size_t width)
if (ferror (istream))
{
- error (0, saved_errno, "%s", quote (filename));
+ error (0, saved_errno, "%s", quotef (filename));
if (!STREQ (filename, "-"))
fclose (istream);
return false;
}
if (!STREQ (filename, "-") && fclose (istream) == EOF)
{
- error (0, errno, "%s", quote (filename));
+ error (0, errno, "%s", quotef (filename));
return false;
}