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

index 4cc6e8856b6055e2e64f55e19ccf07cac613d2d4..2dd8443095c86c16b093a1a81f35924357725d49 100644 (file)
@@ -635,7 +635,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
        errno = ENOSYS;