git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
189a85d
)
Fix bug #6085 - In vfs_default.c change utime( ) call.
author
Miguel Suarez
<Miguel.Suarez@stratus.com>
Tue, 3 Feb 2009 22:36:50 +0000
(14:36 -0800)
committer
Jeremy Allison
<jra@samba.org>
Tue, 3 Feb 2009 22:36:50 +0000
(14:36 -0800)
source3/modules/vfs_default.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_default.c
b/source3/modules/vfs_default.c
index f8ac3e85d3b26f02b47f2be7e9f870a2a82c033a..679be57558fa400d80675aeada99ae7ff2eddbc4 100644
(file)
--- 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);
}