diff options
-rw-r--r-- | source3/smbwrapper/smbw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index 2842123888..d6964790d6 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -1090,7 +1090,7 @@ int smbw_access(const char *name, int mode) { struct stat st; /* how do we map this properly ?? */ - return smbw_stat(name, &st) == 0; + return smbw_stat(name, &st); } /***************************************************** |