Put the message about msgbuf cksum mismatch under bootverbose and tell

people what the consequence is.
This commit is contained in:
Poul-Henning Kamp 2003-09-05 11:12:00 +00:00
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);
}
}