aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2002-02-17 20:53:56 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2002-02-17 20:53:56 +0000
commit96c066cc832a96adbbbbd47cae205c9f1a530121 (patch)
tree3deb3ee5c3d107166ebbcd0600b9d68eb2fc26ce /usr.bin
parent038b641740789bbdc456fc4a023db146a195ea0c (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pr/pr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c
index 2e0376ef9f93..941b8fe7f4ae 100644
--- a/usr.bin/pr/pr.c
+++ b/usr.bin/pr/pr.c
@@ -1590,6 +1590,7 @@ setup(argc, argv)
* defer diagnostics until processing is done
*/
if ((err = tmpfile()) == NULL) {
+ err = stderr;
(void)fputs("Cannot defer diagnostic messages\n",stderr);
return(1);
}