commit 8ef50f5745d8988ce842f5c27d489c2fa91b88aa parent e6cd53daf70d8eb853c37afb28741d64f4e4933e Author: sin <sin@2f30.org> Date: Sat, 7 Mar 2015 21:25:18 +0000 Use logerr() instead of fprintf() Diffstat:
M | waffle.c | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/waffle.c b/waffle.c @@ -143,10 +143,8 @@ main(int argc, char *argv[]) if (sfd > fdmax) fdmax = sfd; - if (backends_init() < 0) { - fprintf(stderr, "Failed to initialize backends\n"); - exit(1); - } + if (backends_init() < 0) + logerr("backends_init: failed to initialize backends\n"); while (1) { rfds = master;