From 0017332a3a856c199ce113be5db4859b575f5ea3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 10 Oct 2011 11:09:21 +0200 Subject: [PATCH] Add more info to tape error msgs --- bacula/src/stored/dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 7a3dafe03d..cece9f2476 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -246,11 +246,11 @@ init_dev(JCR *jcr, DEVRES *device) dev->max_block_size = 0; } if (dev->max_block_size % TAPE_BSIZE != 0) { - Jmsg2(jcr, M_WARNING, 0, _("Max block size %u not multiple of device %s block size.\n"), - dev->max_block_size, dev->print_name()); + Jmsg3(jcr, M_WARNING, 0, _("Max block size %u not multiple of device %s block size=%d.\n"), + dev->max_block_size, dev->print_name(), TAPE_BSIZE); } if (dev->max_volume_size != 0 && dev->max_volume_size < (dev->max_block_size << 4)) { - Jmsg(jcr, M_ERROR_TERM, 0, _("Max Vol Size < 8 * Max Block Size on device %s\n"), + Jmsg(jcr, M_ERROR_TERM, 0, _("Max Vol Size < 8 * Max Block Size for device %s\n"), dev->print_name()); } -- 2.39.5