Fix bug #6085 - In vfs_default.c change utime( ) call.
authorMiguel Suarez <Miguel.Suarez@stratus.com>
Tue, 3 Feb 2009 22:35:19 +0000 (14:35 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 3 Feb 2009 22:35:19 +0000 (14:35 -0800)
source/modules/vfs_default.c

index d306b0f8481ce32d59bff215b02f06a1fbadb402..1e95633b6d6f59264819ba32112d353e387fbecb 100644 (file)
@@ -670,7 +670,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 {
                result = utime(path, NULL);
        }