| Index: chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
|
| diff --git a/chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc b/chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
|
| index 861bd1bd8e47d54becded7bab26cb4119cb1b21b..a8a7588debc99435e8bc50e3d7367504b2ce2937 100644
|
| --- a/chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
|
| +++ b/chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
|
| @@ -49,13 +49,13 @@ policy::Schema StorageSchemaManifestHandler::GetSchema(
|
| }
|
| file = extension->path().AppendASCII(path);
|
| if (!base::PathExists(file)) {
|
| - *error =
|
| - base::StringPrintf("File does not exist: %s", file.value().c_str());
|
| + *error = base::StringPrintf("File does not exist: %" PRIsFP,
|
| + file.value().c_str());
|
| return policy::Schema();
|
| }
|
| std::string content;
|
| if (!base::ReadFileToString(file, &content)) {
|
| - *error = base::StringPrintf("Can't read %s", file.value().c_str());
|
| + *error = base::StringPrintf("Can't read %" PRIsFP, file.value().c_str());
|
| return policy::Schema();
|
| }
|
| return policy::Schema::Parse(content, error);
|
|
|