Remove two unnecessary .c_str() calls.

Change-Id: I48a604e13e678bc74b3745ceafcb8d0367e51f8b
diff --git a/src/thread.cc b/src/thread.cc
index 7f971c4..bbbe6e5 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -502,7 +502,7 @@
 
   // Grab the scheduler stats for this thread.
   std::string scheduler_stats;
-  if (ReadFileToString(StringPrintf("/proc/self/task/%d/schedstat", GetTid()).c_str(), &scheduler_stats)) {
+  if (ReadFileToString(StringPrintf("/proc/self/task/%d/schedstat", GetTid()), &scheduler_stats)) {
     scheduler_stats.resize(scheduler_stats.size() - 1); // Lose the trailing '\n'.
   } else {
     scheduler_stats = "0 0 0";
diff --git a/src/utils.cc b/src/utils.cc
index bfa0c4f..629d513 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -855,7 +855,7 @@
 void GetTaskStats(pid_t tid, int& utime, int& stime, int& task_cpu) {
   utime = stime = task_cpu = 0;
   std::string stats;
-  if (!ReadFileToString(StringPrintf("/proc/self/task/%d/stat", tid).c_str(), &stats)) {
+  if (!ReadFileToString(StringPrintf("/proc/self/task/%d/stat", tid), &stats)) {
     return;
   }
   // Skip the command, which may contain spaces.