From 28220ed710c4567532d2cbc16c3d2bea3a741e1e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 23 Mar 2007 22:23:09 +0000 Subject: r21956: Fix bug reported by don.mccall@hp.com for platforms without utimes() call (only utime()). Jeremy. (This used to be commit 63b061a2ea2ee1eb06d9b568743b2356c107ec66) --- source3/modules/vfs_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules/vfs_default.c') diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 67e615ec23..98e9aaa263 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -632,7 +632,7 @@ static int vfswrap_ntimes(vfs_handle_struct *handle, const char *path, const str } #elif defined(HAVE_UTIME) { - struct utimebuf times; + 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); -- cgit