about summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
Diffstat (limited to 'iconv')
-rw-r--r--iconv/iconv_prog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/iconv_prog.c b/iconv/iconv_prog.c
index f26b7159e4..0c1b9d045d 100644
--- a/iconv/iconv_prog.c
+++ b/iconv/iconv_prog.c
@@ -188,7 +188,7 @@ main (int argc, char *argv[])
 	      error (EXIT_FAILURE, errno, _("error while closing input `%s'"),
 		     argv[remaining]);
 
-	    if (process_block (cd, addr, st.st_size, stdout) < 0)
+	    if (process_block (cd, addr, st.st_size, output) < 0)
 	      {
 		/* Something went wrong.  */
 		status = EXIT_FAILURE;