commit 6390625cef35952e411999714e77a137a55de718 parent 7bfa7b5d8027abad0750cb19efc0c3ff650a2d3d Author: sin <sin@2f30.org> Date: Sun, 12 May 2019 11:32:31 +0100 Fix error message Diffstat:
M | dup-init.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dup-init.c b/dup-init.c @@ -33,7 +33,7 @@ savestate(char *repo) if (fd < 0) err(1, "open: %s", path); if (writestate(fd, ¶m) < 0) - errx(1, "readstate: failed"); + errx(1, "writestate: failed"); if (close(fd) < 0) err(1, "close: %s", path); }