From 56f8deb358e5d7d8339ecf10bf4b7fbaea8e25d2 Mon Sep 17 00:00:00 2001 From: Carsten Leonhardt Date: Tue, 29 Jan 2019 16:23:52 +0100 Subject: [PATCH] FixFix spelling errors found by lintian by Carston in bug #2436 --- bacula/src/dird/newvol.c | 2 +- bacula/src/qt-console/tray-monitor/task.cpp | 2 +- bacula/src/stored/read_records.c | 2 +- bacula/src/stored/tape_alert_msgs.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/dird/newvol.c b/bacula/src/dird/newvol.c index a047584ff..4f7751b3c 100644 --- a/bacula/src/dird/newvol.c +++ b/bacula/src/dird/newvol.c @@ -60,7 +60,7 @@ bool newVolume(JCR *jcr, MEDIA_DBR *mr, STORE *store, POOL_MEM &errmsg) if (pr.MaxVols > 0 && pr.NumVols >= pr.MaxVols) { Mmsg(errmsg, "Maximum Volumes exceeded for Pool %s", pr.Name); - Dmsg1(90, "Too much volumes for Pool %s\n", pr.Name); + Dmsg1(90, "Too many volumes for Pool %s\n", pr.Name); goto bail_out; } diff --git a/bacula/src/qt-console/tray-monitor/task.cpp b/bacula/src/qt-console/tray-monitor/task.cpp index 0781f9a1b..8e12b2602 100644 --- a/bacula/src/qt-console/tray-monitor/task.cpp +++ b/bacula/src/qt-console/tray-monitor/task.cpp @@ -83,7 +83,7 @@ static void *handle_task(void *data) break; } } - Dmsg0(dbglvl, "Worker stoped\n"); + Dmsg0(dbglvl, "Worker stopped\n"); lmgr_cleanup_thread(); return NULL; } diff --git a/bacula/src/stored/read_records.c b/bacula/src/stored/read_records.c index 0e8f02ebe..6ec305cb3 100644 --- a/bacula/src/stored/read_records.c +++ b/bacula/src/stored/read_records.c @@ -164,7 +164,7 @@ bool read_records(DCR *dcr, display_tape_error_status(jcr, dev); if (forge_on || jcr->ignore_label_errors) { dev->fsr(1); /* try skipping bad record */ - Pmsg0(000, _("Did fsr in attemp to skip bad record.\n")); + Pmsg0(000, _("Did fsr in attempt to skip bad record.\n")); continue; /* try to continue */ } ok = false; /* stop everything */ diff --git a/bacula/src/stored/tape_alert_msgs.h b/bacula/src/stored/tape_alert_msgs.h index 45ab2f036..090f51bdb 100644 --- a/bacula/src/stored/tape_alert_msgs.h +++ b/bacula/src/stored/tape_alert_msgs.h @@ -149,7 +149,7 @@ static const char *long_msg[] = { "A hardware failure of the tape drive is predicted. Call the tape drive supplier helpline. Predictive failure of drive hardware.", "The tape drive may have a fault. Check for availability of diagnostic information and run extended diagnostics if applicable. The drive may have had a failure which may be identified by stored diagnostic information or by running extended diagnostics (eg Send Diagnostic). Check the tape drive users manual for instructions on running extended diagnostic tests and retrieving diagnostic data.", /* 40 */ "The changer mechanism is having difficulty communicating with the tape drive: Loader mech. is having trouble communicating with the tape drive.\n 1. Turn the autoloader off then on.\n 2. Restart the operation.\n 3. If problem persists, call the tape drive supplier helpline.", - "A tape has been left in the autoloader by a previous hardware fault: Stray tape left in loader after pervious error recovery.\n 1. Insert an empty magazine to clear the fault.\n 2. If the fault does not clear, turn the autoloader off and then on again.\n 3. If the problem persists, call the tape drive supplier helpline.", + "A tape has been left in the autoloader by a previous hardware fault: Stray tape left in loader after previous error recovery.\n 1. Insert an empty magazine to clear the fault.\n 2. If the fault does not clear, turn the autoloader off and then on again.\n 3. If the problem persists, call the tape drive supplier helpline.", "There is a problem with the autoloader mechanism. Loader mech. has a hardware fault.", "The operation has failed because the autoloader door is open: Tape changer door open:\n 1. Clear any obstructions from the autoloader door.\n 2. Eject the magazine and then insert it again.\n 3. If the fault does not clear, turn the autoloader off and then on again.\n 4. If the problem persists, call the tape drive supplier helpline.", "The autoloader has a hardware fault: The loader mechanism has a hardware fault that is not mechanically related.\n 1. Turn the autoloader off and then on again.\n 2. Restart the operation.\n 3. If the problem persists, call the tape drive supplier helpline.\n Check the autoloader users manual for device specific instructions on turning the device power on and off.", -- 2.47.3