From 1cffcd91a91c8d7b9bed0da35405344c0c6b98dd Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 26 Mar 2025 08:59:29 +0000 Subject: [PATCH] libutil: Fix error message I encountered this with a misconfigured libutil. I doubt that a non-lutimes config is viable, because tests were failing. --- src/libutil/file-system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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