summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-10-05 13:04:45 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-10-05 13:04:45 +0200
commit726c58c7de0f0ab6053801a566112497391cfe32 (patch)
treeafea40a49161675fd4202c94761769551599b2d4
parent7e5f8c6e0d01e4df0c70fc82101ef9b294138a41 (diff)
libdiskfs: fflush stdout when pausing
* libdiskfs/boot-start.c (diskfs_start_bootstrap): fflush stdout when pausing for /hurd/startup.
-rw-r--r--libdiskfs/boot-start.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 809e2c05..731d8c6d 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -279,6 +279,7 @@ diskfs_start_bootstrap ()
if (_diskfs_boot_pause)
{
printf ("pausing for %s...\n", exec_argv);
+ fflush (stdout);
getc (stdin);
}
printf (" %s", basename (exec_argv));