Use __func__ - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit e58a4dcfff5f77ca038605314c1565ebbd6b4121 DIR parent 82da8a285b4eed7436c31a2806d565c24e41d9e9 HTML Author: sin <sin@2f30.org> Date: Wed, 21 Mar 2018 16:22:07 +0000 Use __func__ Diffstat: M dedup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/dedup.c b/dedup.c @@ -325,7 +325,7 @@ extract(char *id, int fd) break; } if (i == enthdr.nents) - errx(1, "extract: unknown hash %s", id); + errx(1, "%s: unknown hash %s", __func__, id); } void