summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-21 13:15:20 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-21 13:15:20 +0000
commit0083afc90e928f2fa55be3936d51474bb97daf2e (patch)
tree24fc47e987c84a42f135c89fa35cf177570010f0 /source3/smbd
parentbb9ca7fd648d8a507ade0f15ac84251eb13a8f02 (diff)
downloadsamba-0083afc90e928f2fa55be3936d51474bb97daf2e.tar.gz
samba-0083afc90e928f2fa55be3936d51474bb97daf2e.tar.bz2
samba-0083afc90e928f2fa55be3936d51474bb97daf2e.zip
damn, I spelt EACCES wrong.
actually it's wrong in the linux man page for utime ... (This used to be commit 267b56de10a20c25faee69cf4b6b6c02887ebe9c)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 5f925df687..42b2a506cc 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -323,7 +323,7 @@ int file_utime(int cnum, char *fname, struct utimbuf *times)
if(sys_utime(fname, times) == 0)
return 0;
- if((errno != EPERM) && (errno != EACCESS))
+ if((errno != EPERM) && (errno != EACCES))
return -1;
if(!lp_dos_filetimes(SNUM(cnum)))