r21956: Fix bug reported by don.mccall@hp.com for platforms
authorJeremy Allison <jra@samba.org>
Fri, 23 Mar 2007 22:23:09 +0000 (22:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:52 +0000 (12:18 -0500)
without utimes() call (only utime()).
Jeremy.
(This used to be commit 63b061a2ea2ee1eb06d9b568743b2356c107ec66)

source3/modules/vfs_default.c

index 67e615ec23304b4ddee14b4850aa933c0619f19f..98e9aaa2631754a6bb9f6c8e7b3cab41de7e169a 100644 (file)
@@ -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);