diff options
author | relan <relan@users.noreply.github.com> | 2012-12-04 18:34:01 +0000 |
---|---|---|
committer | relan <relan@users.noreply.github.com> | 2015-08-24 08:26:15 +0300 |
commit | 84e2bcbecf3c38b385d784a9917db81123dde5a0 (patch) | |
tree | 95f5fa9b7016451ecdba1c82d73a00f5caa62bbf /dump | |
parent | b65cf6eeb52ec62e37cb692a90367c0e45596352 (diff) | |
download | android_external_exfat-84e2bcbecf3c38b385d784a9917db81123dde5a0.tar.gz android_external_exfat-84e2bcbecf3c38b385d784a9917db81123dde5a0.tar.bz2 android_external_exfat-84e2bcbecf3c38b385d784a9917db81123dde5a0.zip |
Refactor device access mode handling.
Diffstat (limited to 'dump')
-rw-r--r-- | dump/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dump/main.c b/dump/main.c index 1536f81..07c8b05 100644 --- a/dump/main.c +++ b/dump/main.c @@ -76,7 +76,7 @@ static int dump_sb(const char* spec) struct exfat_dev* dev; struct exfat_super_block sb; - dev = exfat_open(spec, 1); + dev = exfat_open(spec, EXFAT_MODE_RO); if (dev == NULL) return 1; |