summaryrefslogtreecommitdiff
path: root/src/hostid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostid.c')
-rw-r--r--src/hostid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostid.c b/src/hostid.c
index b3a821e51..f7a31fa12 100644
--- a/src/hostid.c
+++ b/src/hostid.c
@@ -73,7 +73,7 @@ main (int argc, char **argv)
id = gethostid ();
printf ("%lx\n", id);
- if (FCLOSE (stdout) == EOF)
+ if (fclose (stdout) == EOF)
error (EXIT_FAILURE, errno, _("write error"));
exit (EXIT_SUCCESS);