Put the message about msgbuf cksum mismatch under bootverbose and tell
people what the consequence is.
This commit is contained in:
parent
9aad651f23
commit
ce914a08b0
@ -73,8 +73,11 @@ msgbuf_reinit(struct msgbuf *mbp, void *ptr, int size)
|
||||
mbp->msg_ptr = ptr;
|
||||
cksum = msgbuf_cksum(mbp);
|
||||
if (cksum != mbp->msg_cksum) {
|
||||
printf("msgbuf cksum mismatch (read %x, calc %x)\n",
|
||||
mbp->msg_cksum, cksum);
|
||||
if (bootverbose) {
|
||||
printf("msgbuf cksum mismatch (read %x, calc %x)\n",
|
||||
mbp->msg_cksum, cksum);
|
||||
printf("Old msgbuf not recovered\n");
|
||||
}
|
||||
msgbuf_clear(mbp);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user