diff options
author | Elliott Hughes <enh@google.com> | 2014-11-10 22:18:17 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-10 22:18:17 +0000 |
commit | fb27aafd4f4c447830623b2a15fc32f8c4dbf62a (patch) | |
tree | 284f26e467d9e9b8958bcb013f592a87077ec93a | |
parent | 951d0d025796769673bf96a3a7bfa4783cf84dbf (diff) | |
parent | b777eacc871e246782ea61f51d87f75f9dc2bc15 (diff) | |
download | system_core-fb27aafd4f4c447830623b2a15fc32f8c4dbf62a.zip system_core-fb27aafd4f4c447830623b2a15fc32f8c4dbf62a.tar.gz system_core-fb27aafd4f4c447830623b2a15fc32f8c4dbf62a.tar.bz2 |
am b777eacc: am 1da681ca: Merge "bionic\'s struct stat is now POSIX-compliant."
* commit 'b777eacc871e246782ea61f51d87f75f9dc2bc15':
bionic's struct stat is now POSIX-compliant.
-rw-r--r-- | sdcard/sdcard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index b53b581..3fc3577 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -391,12 +391,12 @@ static void attr_from_stat(struct fuse_attr *attr, const struct stat *s, const s attr->ino = node->nid; attr->size = s->st_size; attr->blocks = s->st_blocks; - attr->atime = s->st_atime; - attr->mtime = s->st_mtime; - attr->ctime = s->st_ctime; - attr->atimensec = s->st_atime_nsec; - attr->mtimensec = s->st_mtime_nsec; - attr->ctimensec = s->st_ctime_nsec; + attr->atime = s->st_atim.tv_sec; + attr->mtime = s->st_mtim.tv_sec; + attr->ctime = s->st_ctim.tv_sec; + attr->atimensec = s->st_atim.tv_nsec; + attr->mtimensec = s->st_mtim.tv_nsec; + attr->ctimensec = s->st_ctim.tv_nsec; attr->mode = s->st_mode; attr->nlink = s->st_nlink; |