diff options
author | Robin Lee <rgl@google.com> | 2014-07-09 17:27:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-07-04 08:02:36 +0000 |
commit | 7c5be65f2819bf0328715bc405483788dd7a81f2 (patch) | |
tree | 96e4b2baf639220dc0f364c55b90fd6a157012c2 /cmds/installd/installd.c | |
parent | cbb9d0d74008e460963a3c3094f654c50a04a295 (diff) | |
parent | 7c8bec01790087748ec7afa69a31789828b751f9 (diff) | |
download | frameworks_native-7c5be65f2819bf0328715bc405483788dd7a81f2.zip frameworks_native-7c5be65f2819bf0328715bc405483788dd7a81f2.tar.gz frameworks_native-7c5be65f2819bf0328715bc405483788dd7a81f2.tar.bz2 |
Merge "Rename 'mkuser' command to 'mkuserconfig'"
Diffstat (limited to 'cmds/installd/installd.c')
-rw-r--r-- | cmds/installd/installd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c index 45cc2b2..e072d0d 100644 --- a/cmds/installd/installd.c +++ b/cmds/installd/installd.c @@ -109,9 +109,9 @@ static int do_mk_user_data(char **arg, char reply[REPLY_MAX]) /* pkgname, uid, userid, seinfo */ } -static int do_mk_user(char **arg, char reply[REPLY_MAX]) +static int do_mk_user_config(char **arg, char reply[REPLY_MAX]) { - return create_user(atoi(arg[0])); /* userid */ + return make_user_config(atoi(arg[0])); /* userid */ } static int do_rm_user(char **arg, char reply[REPLY_MAX]) @@ -168,7 +168,7 @@ struct cmdinfo cmds[] = { { "movefiles", 0, do_movefiles }, { "linklib", 3, do_linklib }, { "mkuserdata", 4, do_mk_user_data }, - { "mkuser", 1, do_mk_user }, + { "mkuserconfig", 1, do_mk_user_config }, { "rmuser", 1, do_rm_user }, { "idmap", 3, do_idmap }, { "restorecondata", 3, do_restorecon_data }, |