codestyle: change bsm to msgbuf