diff --git a/util-unix.cpp b/util-unix.cpp index d31550b..1cebf3f 100644 --- a/util-unix.cpp +++ b/util-unix.cpp @@ -281,7 +281,7 @@ bool successful_exit (int status) void touch_file (const std::string& filename) { if (utimes(filename.c_str(), NULL) == -1) { - throw System_error("utimes", "", errno); + throw System_error("utimes", filename, errno); } }