From 2554b51173f43d169c998958deebce3ab76cbd7f Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 15 May 2024 12:55:11 +0200 Subject: [PATCH] hook_deps: Use precise name: hooks are added and later deleted, not removed --- tools/hook_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/hook_deps.sh b/tools/hook_deps.sh index e9a8edb81..243c9ac2d 100755 --- a/tools/hook_deps.sh +++ b/tools/hook_deps.sh @@ -225,7 +225,7 @@ analyze_hooks({Add, Del}) -> true -> ok; false -> err("~s:~p: Error: " - "hook ~s->~s->~s is added but was never removed~n", + "hook ~s->~s->~s is added but was never deleted~n", [File, FileNo, Hook, Mod, Fun]) end end, maps:to_list(Add1)), @@ -235,7 +235,7 @@ analyze_hooks({Add, Del}) -> true -> ok; false -> err("~s:~p: Error: " - "hook ~s->~s->~s is removed but was never added~n", + "hook ~s->~s->~s is deleted but was never added~n", [File, FileNo, Hook, Mod, Fun]) end end, maps:to_list(Del1)).