mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2024-12-22 13:34:06 +03:00
qmeventd: flush after verbose printing
if one would try to use -v in a systemd service, systemd would disable line buffering for stdout and no output would happen (until the buffer is full) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3bae384f75
commit
e8e0fd93bf
@ -30,7 +30,7 @@
|
||||
#define __NR_pidfd_send_signal 424
|
||||
#endif
|
||||
|
||||
#define VERBOSE_PRINT(...) do { if (verbose) { printf(__VA_ARGS__); } } while (0)
|
||||
#define VERBOSE_PRINT(...) do { if (verbose) { printf(__VA_ARGS__); fflush(stdout); } } while (0)
|
||||
|
||||
static inline void log_neg(int errval, const char *msg)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user