Fixed typo.
BUG: 27419521
Change-Id: Ie9f0b24876353e532f4ebe2ff4935938c3c7a781
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 5119061..356b68f 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -184,8 +184,8 @@
}
DurationReporter duration_reporter("SYSTRACE", nullptr);
- // systrace output can be many MBs, so we need to redirect its stdout straigh to the zip file by
- // forking and using a pipe.
+ // systrace output can be many MBs, so we need to redirect its stdout straight to the zip file
+ // by forking and using a pipe.
int pipefd[2];
pipe(pipefd);
if (fork() == 0) {
@@ -1253,7 +1253,6 @@
run_command_as_shell("DUMPSYS MEMINFO", 30, "dumpsys", "meminfo", "-a", NULL);
run_command_as_shell("DUMPSYS CPUINFO", 30, "dumpsys", "cpuinfo", "-a", NULL);
-
/* collect stack traces from Dalvik and native processes (needs root) */
dump_traces_path = dump_traces();