Fix varargs bug that made incident_report print incorrectly.

Test: incident_report 3000
Change-Id: I397677ecd6e50ad143518416c8fa3e408139189b
diff --git a/tools/incident_report/printer.cpp b/tools/incident_report/printer.cpp
index 8111b27..bd660dd2 100644
--- a/tools/incident_report/printer.cpp
+++ b/tools/incident_report/printer.cpp
@@ -69,8 +69,10 @@
     va_start(args, format);
 
     len = vsnprintf(mBuf, mBufSize, format, args);
+    va_end(args);
     bool truncated = (len >= mBufSize) && (reallocate(len) < len);
-    
+
+    va_start(args, format);
     len = vsnprintf(mBuf, mBufSize, format, args);
     va_end(args);