]> git.ipfire.org Git - thirdparty/kmod.git/commit
shared: Remove fatal macro
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 10 Sep 2024 16:11:41 +0000 (18:11 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 17 Sep 2024 03:22:39 +0000 (22:22 -0500)
commit3cc6e5998a9fbcfdf24a26e8a44ed44ea1bddaaa
treeb1f7b8e9e4e61f0fc8b3a30746832d2933fc2948
parent9d965d3386b609e81155c55ade59fa35ae991edf
shared: Remove fatal macro

The fatal macro was never implemented. Its only user, libkmod-index,
should propagate error condition through errno as good as possible.

Other logging mechanisms are not available without adjusting API
because context is missing.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/123
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c
shared/macro.h