summaryrefslogtreecommitdiffstats
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
commit2a796cde8c01091b4c0275f7ba9180a41d10b93c (patch)
tree482e43b1ee1ed7f9aba72fb3621c9f91c9e5c124
parent70c9fcd9c18e978a44f982db899a530efd793248 (diff)
downloadpw-darwin-2a796cde8c01091b4c0275f7ba9180a41d10b93c.tar.gz
pw-darwin-2a796cde8c01091b4c0275f7ba9180a41d10b93c.tar.zst
pw-darwin-2a796cde8c01091b4c0275f7ba9180a41d10b93c.zip
Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
-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