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
OS X: fixed raw device size detection. Each disk has two names: /dev/diskN (block...
[android-x86/external-exfat.git]
/
libexfat
/
io.c
diff --git
a/libexfat/io.c
b/libexfat/io.c
index
e9672fb
..
e7dcd79
100644
(file)
--- a/
libexfat/io.c
+++ b/
libexfat/io.c
@@
-147,7
+147,7
@@
struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
}
#ifdef __APPLE__
- if (
S_ISBLK
(stbuf.st_mode))
+ if (
!S_ISREG
(stbuf.st_mode))
{
uint32_t block_size = 0;
uint64_t blocks = 0;