summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMiguel Suarez <Miguel.Suarez@stratus.com>2009-02-03 14:36:50 -0800
committerJeremy Allison <jra@samba.org>2009-02-03 14:36:50 -0800
commita4c5054b5a92c08498f522b39472d64a32a3cebb (patch)
treef2192a75c76aba314e9871a269215cd0add7f995 /source3
parent189a85dd68eb6c62272e51769d842afbf8389a4f (diff)
downloadsamba-a4c5054b5a92c08498f522b39472d64a32a3cebb.tar.gz
samba-a4c5054b5a92c08498f522b39472d64a32a3cebb.tar.bz2
samba-a4c5054b5a92c08498f522b39472d64a32a3cebb.zip
Fix bug #6085 - In vfs_default.c change utime( ) call.
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index f8ac3e85d3..679be57558 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -735,7 +735,7 @@ static int vfswrap_ntimes(vfs_handle_struct *handle, const char *path,
struct utimbuf times;
times.actime = convert_timespec_to_time_t(ft->atime);
times.modtime = convert_timespec_to_time_t(ft->mtime);
- result = utime(path, times);
+ result = utime(path, &times);
} else {
result = utime(path, NULL);
}