* Fix broken format string.

This commit is contained in:
Eelco Dolstra 2004-11-08 15:20:52 +00:00
parent d6db574ec1
commit 92ee003dc9
1 changed files with 1 additions and 1 deletions

View File

@ -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)