1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

libutil: Fix error message

I encountered this with a misconfigured libutil. I doubt that a
non-lutimes config is viable, because tests were failing.

(cherry picked from commit 1cffcd91a9)
This commit is contained in:
Robert Hensing 2025-03-26 08:59:29 +00:00 committed by Mergify
parent 52049bc76e
commit 9c20bb18de

View file

@ -680,7 +680,7 @@ void setWriteTime(
if (utimes(path.c_str(), times) == -1) if (utimes(path.c_str(), times) == -1)
throw SysError("changing modification time of %s (not a symlink)", path); throw SysError("changing modification time of %s (not a symlink)", path);
} else { } else {
throw Error("Cannot modification time of symlink %s", path); throw Error("Cannot change modification time of symlink %s", path);
} }
#endif #endif
#endif #endif