diff options
Diffstat (limited to 'tools/validatekeymaps/Main.cpp')
-rw-r--r-- | tools/validatekeymaps/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/validatekeymaps/Main.cpp b/tools/validatekeymaps/Main.cpp index 0d7d5f949a08..0fa13b81c4ea 100644 --- a/tools/validatekeymaps/Main.cpp +++ b/tools/validatekeymaps/Main.cpp @@ -167,8 +167,8 @@ static bool validateFile(const char* filename) { android::base::Result<std::unique_ptr<PropertyMap>> propertyMap = PropertyMap::load(String8(filename)); if (!propertyMap.ok()) { - error("Error %d parsing input device configuration file.\n\n", - propertyMap.error().code()); + error("Error parsing input device configuration file: %s.\n\n", + propertyMap.error().message().c_str()); return false; } break; |