Hi, Since revision 1.161 of src/sys/kern/subr_prf.c, I encounter the following error: /home/triaxx/netbsd8/usr/src/sys/kern/subr_lockdebug.c: In function 'lockdebug_barrier': /home/triaxx/netbsd8/usr/src/sys/kern/subr_lockdebug.c:683:24: error: passing argument 2 of 'lockdebug_dump' from incompatible pointer type [-Werror=incompatible-pointer-types] lockdebug_dump(ld, printf); ^ /home/triaxx/netbsd8/usr/src/sys/kern/subr_lockdebug.c:106:13: note: expected 'void (*)(const char *)' but argument is of type 'int (*)(const char *)' static void lockdebug_dump(lockdebug_t *, void (*)(const char *, ...) I fixed it by casting printf: + + lockdebug_dump(ld, (void (*)(const char *, ...))printf); + but it does not appear as an elegant solution...
Attachment:
signature.asc
Description: OpenPGP digital signature