summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorshoragan <shoragan@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-07-12 16:23:59 +0000
committershoragan <shoragan@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-07-12 16:23:59 +0000
commitdc7bb164e1541357657db11471471ab49e86e763 (patch)
tree422a4b871ba91155e2e7b09c0e1f97f606a2f7ab /src/util
parente5e0fee19488daa446450f7a91da06441c6134f7 (diff)
Flush stdout after handling each event.
This should fix http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=606 git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2381 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/util')
-rw-r--r--src/util/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/shell.c b/src/util/shell.c
index dfd14cf..9a7084d 100644
--- a/src/util/shell.c
+++ b/src/util/shell.c
@@ -303,5 +303,6 @@ int shell_main(struct lgsm_handle *lgsmh)
printf("Unknown command `%s'\n", buf);
}
}
+ fflush(stdout);
}
}
personal git repositories of Harald Welte. Your mileage may vary