summaryrefslogtreecommitdiff
path: root/bin/csh/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/proc.c')
-rw-r--r--bin/csh/proc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/csh/proc.c b/bin/csh/proc.c
index 200d59e1963..da53e3b325c 100644
--- a/bin/csh/proc.c
+++ b/bin/csh/proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.c,v 1.2 1996/06/23 14:19:28 deraadt Exp $ */
+/* $OpenBSD: proc.c,v 1.3 1996/12/14 12:17:42 mickey Exp $ */
/* $NetBSD: proc.c,v 1.9 1995/04/29 23:21:33 mycroft Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)proc.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: proc.c,v 1.2 1996/06/23 14:19:28 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: proc.c,v 1.3 1996/12/14 12:17:42 mickey Exp $";
#endif
#endif /* not lint */
@@ -53,6 +53,7 @@ static char rcsid[] = "$OpenBSD: proc.c,v 1.2 1996/06/23 14:19:28 deraadt Exp $"
#else
# include <varargs.h>
#endif
+#include <err.h>
#include "csh.h"
#include "dir.h"
@@ -1190,7 +1191,7 @@ pfind(cp)
}
if (np)
return (np);
- stderror(ERR_NAME | cp[1] == '?' ? ERR_JOBPAT : ERR_NOSUCHJOB);
+ stderror(ERR_NAME | (cp[1] == '?' ? ERR_JOBPAT : ERR_NOSUCHJOB));
/* NOTREACHED */
return (0);
}