summaryrefslogtreecommitdiff
path: root/src/ptx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptx.c')
-rw-r--r--src/ptx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ptx.c b/src/ptx.c
index c489301a3..54d1bc22c 100644
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -520,7 +520,7 @@ swallow_file_in_memory (const char *file_name, BLOCK *block)
block->start = read_file (file_name, &used_length);
if (!block->start)
- error (EXIT_FAILURE, errno, "%s", quote (using_stdin ? "-" : file_name));
+ error (EXIT_FAILURE, errno, "%s", quotef (using_stdin ? "-" : file_name));
block->end = block->start + used_length;
}
@@ -2076,7 +2076,7 @@ main (int argc, char **argv)
if (optind < argc)
{
if (! freopen (argv[optind], "w", stdout))
- error (EXIT_FAILURE, errno, "%s", quote (argv[optind]));
+ error (EXIT_FAILURE, errno, "%s", quotef (argv[optind]));
optind++;
}