diff options
Diffstat (limited to 'src/pathchk.c')
-rw-r--r-- | src/pathchk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index e05ecf7f4..d9f3bceb6 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -290,7 +290,7 @@ validate_file_name (char *file, bool check_basic_portability, file_exists = true; else if (errno != ENOENT || filelen == 0) { - error (0, errno, "%s", file); + error (0, errno, "%s", quote (file)); return false; } } @@ -393,7 +393,7 @@ validate_file_name (char *file, bool check_basic_portability, default: *start = '\0'; - error (0, errno, "%s", dir); + error (0, errno, "%s", quote (dir)); *start = c; return false; } |