tUse macros for snapshots/store filename - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0bcb5f2edec8035f5fbfb9a33d51ba1b6b19f168
(DIR) parent 85c3683e1b6a3a087edc3c55efe746ae888a4773
(HTM) Author: sin <sin@2f30.org>
Date: Mon, 4 Mar 2019 15:31:48 +0000
Use macros for snapshots/store filename
Diffstat:
M dedup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/dedup.c b/dedup.c
t@@ -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;