From: Miguel Suarez Date: Tue, 3 Feb 2009 22:31:51 +0000 (-0800) Subject: Fix bug #6085 - In vfs_default.c change utime( ) call. X-Git-Tag: samba-3.0.36~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0be10db1016cb0a2fc2631840efd276377980798;p=thirdparty%2Fsamba.git Fix bug #6085 - In vfs_default.c change utime( ) call. (cherry picked from commit 7a1408f89f1addff993d1e2dfb7462d12d0a2f48) --- diff --git a/source/modules/vfs_default.c b/source/modules/vfs_default.c index 4cc6e8856b6..2dd8443095c 100644 --- a/source/modules/vfs_default.c +++ b/source/modules/vfs_default.c @@ -635,7 +635,7 @@ static int vfswrap_ntimes(vfs_handle_struct *handle, const char *path, const str struct utimbuf times; times.actime = convert_timespec_to_time_t(ts[0]); times.modtime = convert_timespec_to_time_t(ts[1]); - result = utime(path, times); + result = utime(path, ×); } #else errno = ENOSYS;