summaryrefslogtreecommitdiffstats
path: root/sdcard/sdcard.c
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-03-23 20:05:32 -0700
committerJeff Sharkey <jsharkey@android.com>2015-03-23 20:05:32 -0700
commit05edf7a5a9ee03f9b026320ebad7b018edba9543 (patch)
tree2b7b4f3110ac906e50719d9ff183dd5d55bd2597 /sdcard/sdcard.c
parenta140afe454319e5c5fc78b4498fc6c2ca6d5ad31 (diff)
downloadsystem_core-05edf7a5a9ee03f9b026320ebad7b018edba9543.zip
system_core-05edf7a5a9ee03f9b026320ebad7b018edba9543.tar.gz
system_core-05edf7a5a9ee03f9b026320ebad7b018edba9543.tar.bz2
Fix build, missed refactoring.
Change-Id: I17337133d8ca6a421e12c0834f42655f1a10197e
Diffstat (limited to 'sdcard/sdcard.c')
-rw-r--r--sdcard/sdcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c
index 318d0ee..ea696ae 100644
--- a/sdcard/sdcard.c
+++ b/sdcard/sdcard.c
@@ -754,7 +754,7 @@ static void fuse_init(struct fuse *fuse, int fd, const char *source_path,
fuse->root.perm = PERM_ROOT;
fuse->root.mode = 0771;
fuse->root.userid = owner_user;
- fuse->root.gid = multiuser_get_uid(owner_userid, AID_SDCARD_R);
+ fuse->root.gid = multiuser_get_uid(owner_user, AID_SDCARD_R);
fuse->package_to_appid = hashmapCreate(256, str_hash, str_icase_equals);
fuse->uid_with_rw = hashmapCreate(128, int_hash, int_equals);
snprintf(fuse->obbpath, sizeof(fuse->obbpath), "%s/Android/obb", source_path);