From 267b56de10a20c25faee69cf4b6b6c02887ebe9c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Oct 1997 13:15:20 +0000 Subject: [PATCH] damn, I spelt EACCES wrong. actually it's wrong in the linux man page for utime ... --- source/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/server.c b/source/smbd/server.c index 5f925df6872..42b2a506cc1 100644 --- a/source/smbd/server.c +++ b/source/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))) -- 2.11.4.GIT