summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))