]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use kevent_filter_table
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 10 Oct 2017 11:39:41 +0000 (17:39 +0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 10 Oct 2017 11:40:01 +0000 (17:40 +0600)
src/lib/util/event.c

index 23ee0b903b2c28f625375b0baf015fe105ca3a99..fc00697a07bd3f778bcc40f41a3efac993224de0 100644 (file)
@@ -461,8 +461,9 @@ static ssize_t fr_event_build_evset(struct kevent out_kev[], size_t outlen, fr_e
                                 *      type of file descriptor specified.
                                 */
                                if (!(map->type & ef->type)) {
-                                       fr_strerror_printf("kevent %s, can't be applied to fd of type %s",
+                                       fr_strerror_printf("kevent %s (%s), can't be applied to fd of type %s",
                                                           map->name,
+                                                          fr_int2str(kevent_filter_table, map->filter, "<INVALID>"),
                                                           fr_int2str(fr_event_fd_type_table,
                                                                      map->type, "<INVALID>"));
                                        return -1;