mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-10 21:38:19 -05:00
Print debug timestamps to same stream as rest of output
We used fprintf() elsewhere in this function, but we didn't use it on the debug timestamp printing. Use fprintf() instead of printf() to fix this. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
343ea81718
commit
a98babbfef
@ -1416,7 +1416,7 @@ int pm_vfprintf(FILE *stream, alpm_loglevel_t level, const char *format, va_list
|
|||||||
strftime(timestr, 9, "%H:%M:%S", tmp);
|
strftime(timestr, 9, "%H:%M:%S", tmp);
|
||||||
timestr[8] = '\0';
|
timestr[8] = '\0';
|
||||||
|
|
||||||
printf("[%s] ", timestr);
|
fprintf(stream, "[%s] ", timestr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user