diff --git a/check_test_bit.c b/check_test_bit.c index a26a12ab..b09139aa 100644 --- a/check_test_bit.c +++ b/check_test_bit.c @@ -35,7 +35,7 @@ static void match_test_bit(const char *fn, struct expression *expr, void *data) macro = get_macro_name(arg->pos); if (macro && strstr(macro, "cpu_has")) return; - sm_warning("test_bit() takes a bit number"); + sm_warning("%s() takes a bit number", fn); } void check_test_bit(int id)