diff options
Diffstat (limited to 'lib/libc/compat-43/getwd.c')
-rw-r--r-- | lib/libc/compat-43/getwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/compat-43/getwd.c b/lib/libc/compat-43/getwd.c index f105150e..9f0e633 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); |