| Index: mojo/fetcher/network_fetcher.cc
|
| diff --git a/mojo/fetcher/network_fetcher.cc b/mojo/fetcher/network_fetcher.cc
|
| index 603cf50de6c42c017227f7e8f6a61e47d0097103..c9a37f220b16c77f722501921e53aa5412f5362c 100644
|
| --- a/mojo/fetcher/network_fetcher.cc
|
| +++ b/mojo/fetcher/network_fetcher.cc
|
| @@ -90,8 +90,8 @@ void NetworkFetcher::RecordCacheToURLMapping(const base::FilePath& path,
|
| base::FilePath map_path = temp_dir.AppendASCII(map_name);
|
|
|
| // TODO(eseidel): Paths or URLs with spaces will need quoting.
|
| - std::string map_entry =
|
| - base::StringPrintf("%s %s\n", path.value().c_str(), url.spec().c_str());
|
| + std::string map_entry = base::StringPrintf(
|
| + "%" PRIsFP " %s\n", path.value().c_str(), url.spec().c_str());
|
| // TODO(eseidel): AppendToFile is missing O_CREAT, crbug.com/450696
|
| if (!PathExists(map_path)) {
|
| base::WriteFile(map_path, map_entry.data(),
|
|
|