From 0083afc90e928f2fa55be3936d51474bb97daf2e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Oct 1997 13:15:20 +0000 Subject: damn, I spelt EACCES wrong. actually it's wrong in the linux man page for utime ... (This used to be commit 267b56de10a20c25faee69cf4b6b6c02887ebe9c) --- source3/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit