diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-11-03 16:59:47 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-11-03 16:59:47 -0700 |
commit | 2c3197bf46130e32194fbfeef6dc6a7940401215 (patch) | |
tree | 84be40ef6c8daf6e145a2bb6fa417be772d7c226 /cmds/dumpstate | |
parent | cbaff3c1c6ca28beb6956d60d326684eb614ea09 (diff) | |
download | frameworks_base-2c3197bf46130e32194fbfeef6dc6a7940401215.zip frameworks_base-2c3197bf46130e32194fbfeef6dc6a7940401215.tar.gz frameworks_base-2c3197bf46130e32194fbfeef6dc6a7940401215.tar.bz2 |
bugreport: Fix dump of netcfg command
Change-Id: Id2f507f4b094cd9cbe5c5eae9030321d1c3ed71a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index d309ef9..8007961 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -107,7 +107,7 @@ static void dumpstate() { run_command("EVENT LOG", 20, "logcat", "-b", "events", "-v", "threadtime", "-d", "*:v", NULL); run_command("RADIO LOG", 20, "logcat", "-b", "radio", "-v", "threadtime", "-d", "*:v", NULL); - run_command("NETWORK INTERFACES", 10, "netcfg", NULL); + run_command("NETWORK INTERFACES", 10, "su", "root", "netcfg", NULL); dump_file("NETWORK ROUTES", "/proc/net/route"); dump_file("ARP CACHE", "/proc/net/arp"); |