summaryrefslogtreecommitdiff
path: root/src/ptx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptx.c')
-rw-r--r--src/ptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptx.c b/src/ptx.c
index 2ccabb734..c489301a3 100644
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -2076,7 +2076,7 @@ main (int argc, char **argv)
if (optind < argc)
{
if (! freopen (argv[optind], "w", stdout))
- error (EXIT_FAILURE, errno, "%s", argv[optind]);
+ error (EXIT_FAILURE, errno, "%s", quote (argv[optind]));
optind++;
}