Fixed bn_print function.