Author: kevans Date: Thu Aug 9 19:09:06 2018 New Revision: 337548 URL: https://svnweb.freebsd.org/changeset/base/337548
Log: subr_prf: style(9) the sizeof Reported by: jkim, ian Modified: head/sys/kern/subr_prf.c Modified: head/sys/kern/subr_prf.c ============================================================================== --- head/sys/kern/subr_prf.c Thu Aug 9 18:25:49 2018 (r337547) +++ head/sys/kern/subr_prf.c Thu Aug 9 19:09:06 2018 (r337548) @@ -1040,7 +1040,7 @@ msgbufinit(void *ptr, int size) /* Attempt to fetch kern.boot_tag tunable on first mapping */ if (!msgbufmapped) TUNABLE_STR_FETCH("kern.boot_tag", current_boot_tag, - sizeof current_boot_tag); + sizeof(current_boot_tag)); msgbufp = (struct msgbuf *)(cp + size); msgbuf_reinit(msgbufp, cp, size); msgbuf_addstr(msgbufp, -1, current_boot_tag, 0); _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"