mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Merge pull request #12758 from roberth/lutimes-error
libutil: Fix error message
This commit is contained in:
commit
fd98f30e4e
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue