summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Input.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Input.cc b/src/Input.cc
index 8f16321..73a2a0a 100644
--- a/src/Input.cc
+++ b/src/Input.cc
@@ -9,7 +9,7 @@
#include "Printer.h"
#ifdef _WIN32
-const char * strerror_r(int errorno, char * buf, size_t bufsize) {
+static const char * strerror_r(int errorno, char * buf, size_t bufsize) {
#ifdef _MSVC
strerror_s(buf, bufsize, errorno);
return buf;
@@ -49,6 +49,7 @@ static int eioStatsDone(eio_req * req) {
Balau::Input::Input(const char * fname) throw (GeneralException) : m_fd(-1), m_size(-1), m_mtime(-1) {
m_name.set("Input(%s)", fname);
+ m_fname = fname;
Printer::elog(E_INPUT, "Opening file %s", fname);