Skip to content

Commit d891f23

Browse files
authored
Merge pull request NixOS#12785 from NixOS/mergify/bp/2.27-maintenance/pr-12758
libutil: Fix error message (backport NixOS#12758)
2 parents 84c4049 + 9c20bb1 commit d891f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libutil/file-system.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ void setWriteTime(
680680
if (utimes(path.c_str(), times) == -1)
681681
throw SysError("changing modification time of %s (not a symlink)", path);
682682
} else {
683-
throw Error("Cannot modification time of symlink %s", path);
683+
throw Error("Cannot change modification time of symlink %s", path);
684684
}
685685
#endif
686686
#endif

0 commit comments

Comments
 (0)