diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-21 13:15:20 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-21 13:15:20 +0000 |
commit | 267b56de10a20c25faee69cf4b6b6c02887ebe9c (patch) | |
tree | 2ce4991d302977fdcf882d1ff589d68b061f0fea /source/smbd | |
parent | afd7592ffd74fbc77f4b177b007291df95f418ef (diff) | |
download | samba-267b56de10a20c25faee69cf4b6b6c02887ebe9c.tar.gz |
damn, I spelt EACCES wrong.
actually it's wrong in the linux man page for utime ...
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |