summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
committerjkh <jkh@FreeBSD.org>1997-10-05 09:40:24 +0000
commit418d0a6a92470af062b69dd63c64f3166ee615e5 (patch)
tree7f06509995affc58ef8727989dc29f3a49b10feb /lib/libutil
parent038c3f0595c56a98acb9161846fdfa51640a0e4b (diff)
downloadFreeBSD-src-418d0a6a92470af062b69dd63c64f3166ee615e5.zip
FreeBSD-src-418d0a6a92470af062b69dd63c64f3166ee615e5.tar.gz
Changes to support full make parallelism (-j<n>) in the world
target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/pw_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/pw_util.c b/lib/libutil/pw_util.c
index 21e0ca5..5902c07 100644
--- a/lib/libutil/pw_util.c
+++ b/lib/libutil/pw_util.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94";
+static const char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
/*
@@ -126,7 +126,7 @@ pw_tmp()
int fd;
char *p;
- if (p = strrchr(path, '/'))
+ if ((p = strrchr(path, '/')))
++p;
else
p = path;
@@ -172,7 +172,7 @@ pw_edit(notsetuid)
if (!(editor = getenv("EDITOR")))
editor = _PATH_VI;
- if (p = strrchr(editor, '/'))
+ if ((p = strrchr(editor, '/')))
++p;
else
p = editor;
OpenPOWER on IntegriCloud