summaryrefslogtreecommitdiffstats
path: root/tools/idevicesyslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicesyslog.c')
-rw-r--r--tools/idevicesyslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 7aa6126..aee702b 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -46,6 +46,9 @@ static syslog_relay_client_t syslog = NULL;
static void syslog_callback(char c, void *user_data)
{
putchar(c);
+ if (c == '\n') {
+ fflush(stdout);
+ }
}
static int start_logging(void)