diff options
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index 5a41c098654e..266ab67f04ee 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -171,7 +171,7 @@ static void _deletePath(const Path & path) /* Make the directory writable. */ if (!(st.st_mode & S_IWUSR)) { if (chmod(path.c_str(), st.st_mode | S_IWUSR) == -1) - throw SysError(format("making `%1%' writable")); + throw SysError(format("making `%1%' writable") % path); } for (Strings::iterator i = names.begin(); i != names.end(); ++i) |