summaryrefslogtreecommitdiff
path: root/src/printenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/printenv.c')
-rw-r--r--src/printenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printenv.c b/src/printenv.c
index b92e60725..5ff7b2d5b 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -136,7 +136,7 @@ main (int argc, char **argv)
exit_status = (matches != argc - optind);
}
- if (FERROR (stdout) || fclose (stdout) == EOF)
+ if (ferror (stdout) || fclose (stdout) == EOF)
error (2, errno, _("standard output"));
exit (exit_status);