diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2015-10-16 14:57:52 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2015-10-16 14:57:52 +0200 |
commit | aa12ee895f58a54611fe1956a0929c9d5afe6bda (patch) | |
tree | 7d9fc4fbb269402effb07325e9173bb0bd02473a /tools | |
parent | [master] Fixed bare make distcheck (diff) | |
download | kea-aa12ee895f58a54611fe1956a0929c9d5afe6bda.tar.xz kea-aa12ee895f58a54611fe1956a0929c9d5afe6bda.zip |
[master] Compilation fix.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/system_messages.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/system_messages.cc b/tools/system_messages.cc index cc1344fcd2..f12dc5ad9e 100644 --- a/tools/system_messages.cc +++ b/tools/system_messages.cc @@ -508,7 +508,7 @@ void processFileContent(const std::string& filename, void processFile(const std::string& filename) { std::ifstream cin; - cin.open(filename, std::ios::in); + cin.open(filename.c_str(), std::ios::in); if (!cin.is_open()) { reportError(filename, "open for read failure"); } |