summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r--usr.sbin/pw/pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c
index d854c92..ca3a10a 100644
--- a/usr.sbin/pw/pw.c
+++ b/usr.sbin/pw/pw.c
@@ -206,7 +206,7 @@ main(int argc, char *argv[])
* don't bother with extraneous errors
*/
if (getarg(&arglist, 'q') != NULL)
- freopen("/dev/null", "w", stderr);
+ freopen(_PATH_DEVNULL, "w", stderr);
/*
* Set our base working path if not overridden
OpenPOWER on IntegriCloud