From 3799a23aa7b0e731cdcfb28ddb5a6474727cfe78 Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Fri, 12 Sep 2014 19:40:42 -0700 Subject: [PATCH] Add missing argument when throwing System_error --- util-unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }