subr_prf: style(9) the sizeof
Reported by: jkim, ian
This commit is contained in:
parent
b50a4ea646
commit
240fcda1e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337548
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user