summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43/getwd.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
commit51295a4d3e4c551df85249433c490208dc7fd23d (patch)
treec116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/libc/compat-43/getwd.c
parentaf7a29993083b1562f01c87bb774fbe4fc3579e7 (diff)
Notes
Diffstat (limited to 'lib/libc/compat-43/getwd.c')
-rw-r--r--lib/libc/compat-43/getwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/compat-43/getwd.c b/lib/libc/compat-43/getwd.c
index f105150e2466..9f0e63369d97 100644
--- a/lib/libc/compat-43/getwd.c
+++ b/lib/libc/compat-43/getwd.c
@@ -47,7 +47,7 @@ getwd(buf)
{
char *p;
- if (p = getcwd(buf, MAXPATHLEN))
+ if ( (p = getcwd(buf, MAXPATHLEN)) )
return(p);
(void)strcpy(buf, strerror(errno));
return((char *)NULL);