From: David van Moolenbroek Date: Tue, 16 Oct 2012 21:11:30 +0000 (+0200) Subject: libvboxfs: fix setting file mtimes X-Git-Tag: v3.2.1~267 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.named-checkconf.html?a=commitdiff_plain;h=23907fa712c8cc533e722db8717e65dcbe1b427b;p=minix.git libvboxfs: fix setting file mtimes --- diff --git a/lib/libvboxfs/attr.c b/lib/libvboxfs/attr.c index ba3662cc4..6017748a8 100644 --- a/lib/libvboxfs/attr.c +++ b/lib/libvboxfs/attr.c @@ -154,7 +154,7 @@ vboxfs_setattr(char *path, struct sffs_attr *attr) info.atime = (attr->a_mask & SFFS_ATTR_ATIME) ? set_time(&attr->a_atime) : 0; info.mtime = (attr->a_mask & SFFS_ATTR_MTIME) ? - set_time(&attr->a_ctime) : 0; + set_time(&attr->a_mtime) : 0; info.ctime = (attr->a_mask & SFFS_ATTR_CTIME) ? set_time(&attr->a_ctime) : 0; info.crtime = (attr->a_mask & SFFS_ATTR_CRTIME) ?