diff options
Diffstat (limited to 'src/join.c')
-rw-r--r-- | src/join.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/join.c b/src/join.c index 52e4b18b3..ffef70f77 100644 --- a/src/join.c +++ b/src/join.c @@ -1183,18 +1183,18 @@ main (int argc, char **argv) fp1 = STREQ (g_names[0], "-") ? stdin : fopen (g_names[0], "r"); if (!fp1) - error (EXIT_FAILURE, errno, "%s", g_names[0]); + error (EXIT_FAILURE, errno, "%s", quote (g_names[0])); fp2 = STREQ (g_names[1], "-") ? stdin : fopen (g_names[1], "r"); if (!fp2) - error (EXIT_FAILURE, errno, "%s", g_names[1]); + error (EXIT_FAILURE, errno, "%s", quote (g_names[1])); if (fp1 == fp2) error (EXIT_FAILURE, errno, _("both files cannot be standard input")); join (fp1, fp2); if (fclose (fp1) != 0) - error (EXIT_FAILURE, errno, "%s", g_names[0]); + error (EXIT_FAILURE, errno, "%s", quote (g_names[0])); if (fclose (fp2) != 0) - error (EXIT_FAILURE, errno, "%s", g_names[1]); + error (EXIT_FAILURE, errno, "%s", quote (g_names[1])); if (issued_disorder_warning[0] || issued_disorder_warning[1]) return EXIT_FAILURE; |