summaryrefslogtreecommitdiffhomepage
path: root/coreutils/length.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/length.c')
-rw-r--r--coreutils/length.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/length.c b/coreutils/length.c
index 43a0f5988..015b2216f 100644
--- a/coreutils/length.c
+++ b/coreutils/length.c
@@ -18,5 +18,5 @@ int length_main(int argc, char **argv)
printf("%u\n", (unsigned)strlen(*argv));
- return fflush(stdout);
+ return fflush_all();
}