From c1e85bbbd63dcde7527611dd5c00bb35709c4cdd Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 14 Aug 2009 14:56:36 +0200 Subject: [PATCH] Correct spelling of writing -- reported by Dan --- bacula/src/stored/append.c | 2 +- bacula/src/stored/btape.c | 6 +++--- bacula/src/stored/dev.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bacula/src/stored/append.c b/bacula/src/stored/append.c index a458d4111e..8e3c8eccc1 100644 --- a/bacula/src/stored/append.c +++ b/bacula/src/stored/append.c @@ -277,7 +277,7 @@ bool do_append_data(JCR *jcr) */ if (ok || dev->can_write()) { if (!write_session_label(dcr, EOS_LABEL)) { - Jmsg1(jcr, M_FATAL, 0, _("Error writting end session label. ERR=%s\n"), + Jmsg1(jcr, M_FATAL, 0, _("Error writing end session label. ERR=%s\n"), dev->bstrerror()); set_jcr_job_status(jcr, JS_ErrorTerminated); ok = false; diff --git a/bacula/src/stored/btape.c b/bacula/src/stored/btape.c index 8638d2b7cc..61c14e5aaf 100644 --- a/bacula/src/stored/btape.c +++ b/bacula/src/stored/btape.c @@ -634,7 +634,7 @@ static void capcmd() } /* - * Test writting larger and larger records. + * Test writing larger and larger records. * This is a torture test for records. */ static void rectestcmd() @@ -643,7 +643,7 @@ static void rectestcmd() DEV_RECORD *rec; int i, blkno = 0; - Pmsg0(0, _("Test writting larger and larger records.\n" + Pmsg0(0, _("Test writing larger and larger records.\n" "This is a torture test for records.\nI am going to write\n" "larger and larger records. It will stop when the record size\n" "plus the header exceeds the block size (by default about 64K)\n")); @@ -2024,7 +2024,7 @@ static void fillcmd() set_jcr_job_status(jcr, JS_ErrorTerminated); } if (!write_session_label(dcr, EOS_LABEL)) { - Pmsg1(000, _("Error writting end session label. ERR=%s\n"), dev->bstrerror()); + Pmsg1(000, _("Error writing end session label. ERR=%s\n"), dev->bstrerror()); ok = false; } /* Write out final block of this session */ diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index d17c17f018..df3eaf4146 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -52,7 +52,7 @@ /* * Handling I/O errors and end of tape conditions are a bit tricky. - * This is how it is currently done when writting. + * This is how it is currently done when writing. * On either an I/O error or end of tape, * we will stop writing on the physical device (no I/O recovery is * attempted at least in this daemon). The state flag will be sent -- 2.39.5