mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Merge pull request #12785 from NixOS/mergify/bp/2.27-maintenance/pr-12758
libutil: Fix error message (backport #12758)
This commit is contained in:
commit
d891f233cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue