summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.c
diff options
context:
space:
mode:
author JP Abgrall <jpa@google.com> 2012-02-27 17:05:55 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2012-02-27 17:05:55 -0800
commit95bbbf52237e64f41312d10e3a83c5ea2ed1b633 (patch)
tree6a5997be4db834c56df59f0849fa1376bee20ffa /cmds/dumpstate/utils.c
parente5c484cb5588146f2bf3aeaf8324db80bc735d46 (diff)
parentcb115fca1fe16d01f9a75f3963c87feafc0d42b8 (diff)
Merge "dumpstate: use /system/xbin/su directly"
Diffstat (limited to 'cmds/dumpstate/utils.c')
-rw-r--r--cmds/dumpstate/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/utils.c b/cmds/dumpstate/utils.c
index 21526f9c1b61..0d5ab9019405 100644
--- a/cmds/dumpstate/utils.c
+++ b/cmds/dumpstate/utils.c
@@ -127,7 +127,7 @@ void do_showmap(int pid, const char *name) {
sprintf(title, "SHOW MAP %d (%s)", pid, name);
sprintf(arg, "%d", pid);
- run_command(title, 10, "su", "root", "showmap", arg, NULL);
+ run_command(title, 10, SU_PATH, "root", "showmap", arg, NULL);
}
/* prints the contents of a file */