DF-1572 / fix.diff
diff --git a/sys/dev/disk/xdisk/xdisk.c b/sys/dev/disk/xdisk/xdisk.c --- a/sys/dev/disk/xdisk/xdisk.c +++ b/sys/dev/disk/xdisk/xdisk.c @@ -598,7 +598,7 @@ * part of a streaming transaction), we will have * already closed our end. */ - if (msg->aux_data) { + if (msg->aux_data && xa_debug > 1) { msg->aux_data[msg->aux_size - 1] = 0; xa_printf(0, "DEBUGMSG: %s\n", msg->aux_data); } |