aboutsummaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-08-29 02:25:30 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-08-29 02:25:30 +0200
commit673183d5b05bed275fccf108fd401b09a4b4adb8 (patch)
treecfd6b61ef3d10ee07322b1a56615d8a981998816 /startup
parent4e23f6c0354376b18502443b3ec8102bb657466d (diff)
downloadhurd-673183d5b05bed275fccf108fd401b09a4b4adb8.tar.gz
hurd-673183d5b05bed275fccf108fd401b09a4b4adb8.tar.bz2
hurd-673183d5b05bed275fccf108fd401b09a4b4adb8.zip
startup, settrans: Add missing flush of stderr to get output on waiting
Diffstat (limited to 'startup')
-rw-r--r--startup/startup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/startup/startup.c b/startup/startup.c
index 34186986..606555d2 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -246,6 +246,7 @@ notify_shutdown (const char *msg)
error_t err;
fprintf (stderr, "%s: notifying %s of %s...",
program_invocation_short_name, n->name, msg);
+ fflush (stderr);
err = startup_dosync (n->notify_port, 60000); /* 1 minute to reply */
if (err == MACH_SEND_INVALID_DEST)