summaryrefslogtreecommitdiff
path: root/coreutils/pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/pwd.c')
-rw-r--r--coreutils/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/pwd.c b/coreutils/pwd.c
index 57953d2..11278a2 100644
--- a/coreutils/pwd.c
+++ b/coreutils/pwd.c
@@ -20,7 +20,7 @@ int pwd_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
if (buf != NULL) {
puts(buf);
free(buf);
- return fflush(stdout);
+ return fflush_all();
}
return EXIT_FAILURE;