changeset 180:ba8c35ecf796

fc-uicc-tool readef output redir: make consistent with fc-simtool
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 06 Mar 2021 04:40:43 +0000
parents efe944a5c4e3
children 63b640562e21
files uicc/readcmd.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/uicc/readcmd.c	Tue Mar 02 05:20:19 2021 +0000
+++ b/uicc/readcmd.c	Sat Mar 06 04:40:43 2021 +0000
@@ -88,8 +88,7 @@
 	rc = select_resp_get_transparent(&file_len);
 	if (rc < 0)
 		return(rc);
-	if (outf == stdout)
-		printf("Transparent EF of %u byte(s)\n", file_len);
+	fprintf(outf, "Transparent EF of %u byte(s)\n", file_len);
 	if (!file_len)
 		return(0);
 	readlen = file_len;