diff options
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r-- | source3/lib/system.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 321bca83bb..7338ea7750 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -573,12 +573,8 @@ char *sys_getwd(char *s) { char *wd; #ifdef HAVE_GETCWD -#ifdef PATH_MAX wd = (char *)getcwd(s, PATH_MAX); #else - wd = (char *)getcwd(s, sizeof (pstring)); -#endif -#else wd = (char *)getwd(s); #endif return wd; |