summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2015-10-16 14:57:52 +0200
committerTomek Mrugalski <tomasz@isc.org>2015-10-16 14:57:52 +0200
commitaa12ee895f58a54611fe1956a0929c9d5afe6bda (patch)
tree7d9fc4fbb269402effb07325e9173bb0bd02473a /tools
parent[master] Fixed bare make distcheck (diff)
downloadkea-aa12ee895f58a54611fe1956a0929c9d5afe6bda.tar.xz
kea-aa12ee895f58a54611fe1956a0929c9d5afe6bda.zip
[master] Compilation fix.
Diffstat (limited to 'tools')
-rw-r--r--tools/system_messages.cc2
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");
}