Date: Thu, 9 Aug 2018 19:09:06 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r337548 - head/sys/kern Message-ID: <201808091909.w79J96Tt012158@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808091909.w79J96Tt012158>