From: Alain Spineux Date: Thu, 7 Dec 2017 14:04:28 +0000 (+0100) Subject: tweak add some '\n' to Xmsg in device.c X-Git-Tag: Release-11.3.2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97559d37e1a3aca762f3e5f0a3b816f08975fdec;p=thirdparty%2Fbacula.git tweak add some '\n' to Xmsg in device.c --- diff --git a/bacula/src/stored/device.c b/bacula/src/stored/device.c index 6e3fcc5dd..f3644d15d 100644 --- a/bacula/src/stored/device.c +++ b/bacula/src/stored/device.c @@ -161,7 +161,7 @@ bool fixup_device_block_write_error(DCR *dcr, int retries) Dmsg0(190, "write label block to dev\n"); if (!dcr->write_block_to_dev()) { berrno be; - Pmsg1(0, _("write_block_to_device Volume label failed. ERR=%s"), + Pmsg1(0, _("write_block_to_device Volume label failed. ERR=%s\n"), be.bstrerror(dev->dev_errno)); dev->free_dcr_blocks(dcr); dcr->block = block; @@ -187,12 +187,12 @@ bool fixup_device_block_write_error(DCR *dcr, int retries) } if (!dcr->write_block_to_dev()) { berrno be; - Dmsg1(0, _("write_block_to_device overflow block failed. ERR=%s"), + Dmsg1(0, _("write_block_to_device overflow block failed. ERR=%s\n"), be.bstrerror(dev->dev_errno)); /* Note: recursive call */ if (retries-- <= 0 || !fixup_device_block_write_error(dcr, retries)) { Jmsg2(jcr, M_FATAL, 0, - _("Catastrophic error. Cannot write overflow block to device %s. ERR=%s"), + _("Catastrophic error. Cannot write overflow block to device %s. ERR=%s\n"), dev->print_name(), be.bstrerror(dev->dev_errno)); goto bail_out; }