Index: metrics_daemon.h |
diff --git a/metrics_daemon.h b/metrics_daemon.h |
index dd613227de02984802e338a6115cf6cc6f7b8f6c..52525182953fee9bb368a0c9776ce0fafd113136 100644 |
--- a/metrics_daemon.h |
+++ b/metrics_daemon.h |
@@ -30,7 +30,7 @@ class MetricsDaemon { |
// Initializes. |
void Init(bool testing, MetricsLibraryInterface* metrics_lib, |
- const char* diskstats_path); |
+ std::string diskstats_path); |
// Does all the work. If |run_as_daemon| is true, daemonizes by |
// forking. |
@@ -304,7 +304,7 @@ class MetricsDaemon { |
long int write_sectors_; |
DiskStatsState diskstats_state_; |
- const char* diskstats_path_; |
+ std::string diskstats_path_; |
}; |
#endif // METRICS_DAEMON_H_ |