summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-09 09:35:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-09 09:35:55 +0000
commitb633288d4cadca27a8451a06feb532ed6be53b56 (patch)
tree3ba2ade932b0c3e6b13c64edfedd5e5f7c953364 /pw/pw.c
parentf47d1c816f8271cd6fab7b05ded1325f309c55ee (diff)
downloadpw-darwin-b633288d4cadca27a8451a06feb532ed6be53b56.tar.gz
pw-darwin-b633288d4cadca27a8451a06feb532ed6be53b56.tar.zst
pw-darwin-b633288d4cadca27a8451a06feb532ed6be53b56.zip
Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
Diffstat (limited to 'pw/pw.c')
-rw-r--r--pw/pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw.c b/pw/pw.c
index d854c92..ca3a10a 100644
--- a/pw/pw.c
+++ b/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