commit 0bcb5f2edec8035f5fbfb9a33d51ba1b6b19f168
parent 85c3683e1b6a3a087edc3c55efe746ae888a4773
Author: sin <sin@2f30.org>
Date: Mon, 4 Mar 2019 15:31:48 +0000
Use macros for snapshots/store filename
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dedup.c b/dedup.c
@@ -749,7 +749,7 @@ main(int argc, char *argv[])
ret = 0;
walk_snap(check_snap, &ret);
if (ret != 0)
- errx(1, ".snapshots or .store is corrupted");
+ errx(1, "%s or %s is corrupted", SNAPSF, STOREF);
if (cache_nr_entries() != snap_hdr.st.nr_blks) {
ret = -1;