mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +00:00
printf: (allegedly) fix testsuite failure
Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
4248c33a85
commit
7e6034309e
@ -152,6 +152,8 @@ static void print_direc(char *format, unsigned fmt_length,
|
|||||||
if (have_width - 1 == have_prec)
|
if (have_width - 1 == have_prec)
|
||||||
have_width = NULL;
|
have_width = NULL;
|
||||||
|
|
||||||
|
errno = 0;
|
||||||
|
|
||||||
switch (format[fmt_length - 1]) {
|
switch (format[fmt_length - 1]) {
|
||||||
case 'c':
|
case 'c':
|
||||||
printf(format, *argument);
|
printf(format, *argument);
|
||||||
|
Loading…
Reference in New Issue
Block a user