about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-11-08T15·20+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-11-08T15·20+0000
commit92ee003dc985e6f8331270068b10ca52e9cef793 (patch)
treeb81ef1a64f0b76bb126e9012ce4edb14066af2df /src/libutil
parentd6db574ec127757c05c24f53c71e4116caaa762b (diff)
* Fix broken format string.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/util.cc2
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)