diff --git a/src/libutil/file-system.cc b/src/libutil/file-system.cc
index 55a7d1c9b..fe4c9247c 100644
--- a/src/libutil/file-system.cc
+++ b/src/libutil/file-system.cc
@@ -682,7 +682,7 @@ void setWriteTime(
         if (utimes(path.c_str(), times) == -1)
             throw SysError("changing modification time of %s (not a symlink)", path);
     } else {
-        throw Error("Cannot modification time of symlink %s", path);
+        throw Error("Cannot change modification time of symlink %s", path);
     }
 #endif
 #endif