summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Suarez <Miguel.Suarez@stratus.com>2009-02-03 14:31:51 -0800
committerKarolin Seeger <kseeger@samba.org>2009-07-30 09:22:11 +0200
commit0be10db1016cb0a2fc2631840efd276377980798 (patch)
tree2c410b21850fc78573c39d9db965d9082d1ec398
parentba1b99243c70807a49d2e6f14d9a31a029144ff8 (diff)
downloadsamba-0be10db1016cb0a2fc2631840efd276377980798.tar.gz
Fix bug #6085 - In vfs_default.c change utime( ) call.
(cherry picked from commit 7a1408f89f1addff993d1e2dfb7462d12d0a2f48)
-rw-r--r--source/modules/vfs_default.c2
1 files changed, 1 insertions, 1 deletions
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, &times);
}
#else
errno = ENOSYS;