From 8af9b5e42e7e1a356e6401079ed5d035f9cc8636 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 25 Oct 2004 01:56:29 +0000 Subject: r3179: - fixed error return on utime failure - formatting fix (This used to be commit 8ca4d7c51e5c76aa28f600d49437a45a8a0d31a9) --- source4/ntvfs/posix/pvfs_setfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ntvfs/posix/pvfs_setfileinfo.c') diff --git a/source4/ntvfs/posix/pvfs_setfileinfo.c b/source4/ntvfs/posix/pvfs_setfileinfo.c index 42ee8a971c..6a9e2003f4 100644 --- a/source4/ntvfs/posix/pvfs_setfileinfo.c +++ b/source4/ntvfs/posix/pvfs_setfileinfo.c @@ -64,7 +64,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs, /* Set the date on this file */ if (utime(f->name->full_name, &unix_times) == -1) { - return NT_STATUS_ACCESS_DENIED; + return pvfs_map_errno(pvfs, errno); } break; -- cgit