diff --git a/src/filter.c b/src/filter.c index 9a371c8..d291747 100644 --- a/src/filter.c +++ b/src/filter.c @@ -44,7 +44,7 @@ f2b_filter_load_file(f2b_filter_t *filter, const char *path) { break; default: if (strstr(p, HOST_TOKEN) == NULL) { - f2b_log_msg(log_warn, "pattern at %s:%d don't have '%s' marker, ignored", HOST_TOKEN); + f2b_log_msg(log_warn, "pattern at %s:%d don't have '%s' marker, ignored", path, linenum, HOST_TOKEN); continue; } if (!filter->append(filter->cfg, p)) {