summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-06 03:12:40 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-06 03:12:40 +0000
commit0f87638b5f1da264ce99a5ca0d6d9170b7292364 (patch)
treebf87d4002d52b82c0b358a399b377132f210b08e /source3/smbwrapper/smbw.c
parent4af40453a806e08e009a44da05bb48875c44cebe (diff)
downloadsamba-0f87638b5f1da264ce99a5ca0d6d9170b7292364.tar.gz
samba-0f87638b5f1da264ce99a5ca0d6d9170b7292364.tar.bz2
samba-0f87638b5f1da264ce99a5ca0d6d9170b7292364.zip
use smbw_errno() not smbw_error()
(This used to be commit be7ae2a4e75aab0a71be10eb39cef9434dedae2a)
Diffstat (limited to 'source3/smbwrapper/smbw.c')
-rw-r--r--source3/smbwrapper/smbw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 33cadc48d9..93bbc078ea 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -529,7 +529,7 @@ int smbw_open(const char *fname, int flags, mode_t mode)
}
if (fd == -1) {
/* it might be a directory. Maybe we should use chkpath? */
- eno = smbw_error(&srv->cli);
+ eno = smbw_errno(&srv->cli);
fd = smbw_dir_open(fname);
if (fd == -1) errno = eno;
smbw_busy--;