Fix error message - dedup - deduplicating backup program
 (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6390625cef35952e411999714e77a137a55de718
 (DIR) parent 7bfa7b5d8027abad0750cb19efc0c3ff650a2d3d
 (HTM) 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(-)
       ---
 (DIR) 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, &param) < 0)
       -                errx(1, "readstate: failed");
       +                errx(1, "writestate: failed");
                if (close(fd) < 0)
                        err(1, "close: %s", path);
        }