]> git.tue.mpg.de Git - paraslash.git/commitdiff
Print more info in case an afs event handler failed.
authorAndre Noll <maan@systemlinux.org>
Sun, 6 Jul 2008 22:19:40 +0000 (00:19 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Jul 2008 22:19:40 +0000 (00:19 +0200)
afs.c

diff --git a/afs.c b/afs.c
index 58b04a8bafce749308aefe17d42ebaf178d4d45b..64d3b0f82fb9005b9e526d7ff3265640d3777114 100644 (file)
--- 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));
        }
 }