From 6a0876b8ebae7ff007617e9c9a4e0e72744cfa23 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 7 Jul 2008 00:19:40 +0200 Subject: [PATCH] Print more info in case an afs event handler failed. --- afs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/afs.c b/afs.c index 58b04a8b..64d3b0f8 100644 --- a/afs.c +++ b/afs.c @@ -1185,7 +1185,8 @@ void afs_event(enum afs_events event, struct para_buffer *pb, continue; ret = t->event_handler(event, pb, data); if (ret < 0) - PARA_CRIT_LOG("%s\n", para_strerror(-ret)); + PARA_CRIT_LOG("table %s, event %d: %s\n", t->name, + event, para_strerror(-ret)); } } -- 2.39.5