aboutsummaryrefslogtreecommitdiff
path: root/coreutils/hostid.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/hostid.c')
-rw-r--r--coreutils/hostid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/hostid.c b/coreutils/hostid.c
index 2794510a7..6f007d847 100644
--- a/coreutils/hostid.c
+++ b/coreutils/hostid.c
@@ -22,5 +22,5 @@ int hostid_main(int argc, char **argv UNUSED_PARAM)
printf("%lx\n", gethostid());
- return fflush(stdout);
+ return fflush_all();
}