Fix broken 'adb root' command.

Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1
This commit is contained in:
Xavier Ducrohet 2009-08-25 20:16:14 -07:00
parent 968c8f0703
commit 1bba53f7c8
1 changed files with 1 additions and 1 deletions

View File

@ -929,7 +929,7 @@ top:
if(!strcmp(argv[0], "remount") || !strcmp(argv[0], "reboot")
|| !strcmp(argv[0], "tcpip") || !strcmp(argv[0], "usb")
|| !strcmp(argv[0], "reboot")) {
|| !strcmp(argv[0], "root")) {
char command[100];
if (argc > 1)
snprintf(command, sizeof(command), "%s:%s", argv[0], argv[1]);