Skip to content

Commit 3799a23

Browse files
committed
Add missing argument when throwing System_error
1 parent e9e90fc commit 3799a23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util-unix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ bool successful_exit (int status)
281281
void touch_file (const std::string& filename)
282282
{
283283
if (utimes(filename.c_str(), NULL) == -1) {
284-
throw System_error("utimes", "", errno);
284+
throw System_error("utimes", filename, errno);
285285
}
286286
}
287287

0 commit comments

Comments
 (0)