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

Merge pull request #12758 from roberth/lutimes-error

libutil: Fix error message
This commit is contained in:
John Ericson 2025-03-28 13:06:43 -04:00 committed by GitHub
commit fd98f30e4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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