summaryrefslogtreecommitdiff
path: root/coreutils/logname.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/logname.c')
-rw-r--r--coreutils/logname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/logname.c b/coreutils/logname.c
index da8a1cf..695a736 100644
--- a/coreutils/logname.c
+++ b/coreutils/logname.c
@@ -35,7 +35,7 @@ int logname_main(int argc, char ATTRIBUTE_UNUSED **argv)
if ((p = getlogin()) != NULL) {
puts(p);
- bb_fflush_stdout_and_exit(EXIT_SUCCESS);
+ fflush_stdout_and_exit(EXIT_SUCCESS);
}
bb_perror_msg_and_die("getlogin");