]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
tweak add some '\n' to Xmsg in device.c
authorAlain Spineux <alain@baculasystems.com>
Thu, 7 Dec 2017 14:04:28 +0000 (15:04 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:28 +0000 (09:03 +0100)
bacula/src/stored/device.c

index 6e3fcc5dd0ffed1edb9f6e8bbc6074517d7f91c4..f3644d15db6396268faa31f5466fc7f3746d1738 100644 (file)
@@ -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;
       }