OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename node field flags to attrib.
[android-x86/external-exfat.git]
/
libexfat
/
utils.c
diff --git
a/libexfat/utils.c
b/libexfat/utils.c
index
e2c85f2
..
c633a29
100644
(file)
--- a/
libexfat/utils.c
+++ b/
libexfat/utils.c
@@
-29,7
+29,7
@@
void exfat_stat(const struct exfat* ef, const struct exfat_node* node,
struct stat* stbuf)
{
memset(stbuf, 0, sizeof(struct stat));
- if (node->
flags
& EXFAT_ATTRIB_DIR)
+ if (node->
attrib
& EXFAT_ATTRIB_DIR)
stbuf->st_mode = S_IFDIR | (0777 & ~ef->dmask);
else
stbuf->st_mode = S_IFREG | (0777 & ~ef->fmask);