summaryrefslogtreecommitdiff
path: root/gl/lib/xfreopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/xfreopen.c')
-rw-r--r--gl/lib/xfreopen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gl/lib/xfreopen.c b/gl/lib/xfreopen.c
index a20965f25..61091694b 100644
--- a/gl/lib/xfreopen.c
+++ b/gl/lib/xfreopen.c
@@ -31,11 +31,11 @@ xfreopen (char const *filename, char const *mode, FILE *fp)
if (!freopen (filename, mode, fp))
{
char const *f = (filename ? filename
- : (fp == stdin ? _("stdin")
- : (fp == stdout ? _("stdout")
- : (fp == stderr ? _("stderr")
- : _("unknown stream")))));
+ : (fp == stdin ? _("stdin")
+ : (fp == stdout ? _("stdout")
+ : (fp == stderr ? _("stderr")
+ : _("unknown stream")))));
error (exit_failure, errno, _("failed to reopen %s with mode %s"),
- quote_n (0, f), quote_n (1, mode));
+ quote_n (0, f), quote_n (1, mode));
}
}