From b633288d4cadca27a8451a06feb532ed6be53b56 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 9 Dec 2000 09:35:55 +0000 Subject: Add `_PATH_DEVZERO'. Use _PATH_* where where possible. --- pw/pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-56-ge451