DF-0414 / build.log
/usr/include/netgraph.h:62:18: note: expected 'void (*)(const char *, ...)' but argument is of type 'int (*)(const char * restrict, ...)'
void NgSetErrLog(void (*)(const char *fmt, ...) __printflike(1, 2),
^
trigger.c:82:25: warning: passing argument 2 of 'NgSetErrLog' from incompatible pointer type [-Wincompatible-pointer-types]
NgSetErrLog(printf, printf);
^~~~~~
In file included from trigger.c:51:
/usr/include/netgraph.h:63:6: note: expected 'void (*)(const char *, ...)' but argument is of type 'int (*)(const char * restrict, ...)'
void (*)(const char *fmt, ...) __printflike(1, 2));
^
=== BUILD_EXIT=0 ===
-rwxr-xr-x 1 root wheel 9464 Jul 16 13:13 sanity
-rwxr-xr-x 1 root wheel 10384 Jul 16 13:15 trigger
-rwxr-xr-x 1 root wheel 10768 Jul 16 13:12 trigger_spray