Seems to work:
```
/home/conrad/a.c:94:21: warning: invalid conversion specifier 'n' [-Wformat-invalid-specifier]
my_kprintflike("2 %n %s\n", &loops, "not ok");
~^
```
a.c:
```lang=c
extern void
my_kprintflike(const char *s, ...) __attribute__((__format__(__freebsd_kprintf__, 1, 2)));
int main(int argc, char **argv)
{
…
my_kprintflike("1 %s\n", "ok");
my_kprintflike("2 %n %s\n", &loops, "not ok");
}
```