mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/libc: printf: print on linemode and ASCII console
... if the `ENABLE_SCLP_ASCII` macro is defined. Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
f99560f734
commit
e51663bbca
@@ -406,8 +406,11 @@ void printf(const char *fmt, ...)
|
||||
buf[LINE_LENGTH - 2] = '.';
|
||||
buf[LINE_LENGTH - 3] = '.';
|
||||
}
|
||||
sclp_print(buf);
|
||||
va_end(va);
|
||||
sclp_print(buf);
|
||||
#ifdef ENABLE_SCLP_ASCII
|
||||
sclp_print_ascii(buf);
|
||||
#endif /* ENABLE_SCLP_ASCII */
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user