*: introduce and use ffulsh_all()
[oweals/busybox.git] / coreutils / pwd.c
index 57953d246dd24d2e3191118750a5697f377c5be7..11278a2a54a660ec1b6e8e5952dc9efcdd992e4f 100644 (file)
@@ -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;