From bbf01b644c96e32b34ae5a856aa1877ae88ff5a2 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Mon, 25 Jan 2021 16:30:55 +0100 Subject: [PATCH] tape: fix typos Signed-off-by: Dominik Csapak --- src/api2/config/drive.rs | 2 +- src/tape/changer/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api2/config/drive.rs b/src/api2/config/drive.rs index 54601795..7a05238b 100644 --- a/src/api2/config/drive.rs +++ b/src/api2/config/drive.rs @@ -101,7 +101,7 @@ pub fn get_config( properties: {}, }, returns: { - description: "The list of configured remotes (with config digest).", + description: "The list of configured drives (with config digest).", type: Array, items: { type: DriveListEntry, diff --git a/src/tape/changer/mod.rs b/src/tape/changer/mod.rs index 8f19b16f..cb168842 100644 --- a/src/tape/changer/mod.rs +++ b/src/tape/changer/mod.rs @@ -164,7 +164,7 @@ pub trait MediaChange { fn load_media(&mut self, label_text: &str) -> Result<(), Error> { if label_text.starts_with("CLN") { - bail!("unable to load media '{}' (seems top be a a cleaning units)", label_text); + bail!("unable to load media '{}' (seems to be a cleaning unit)", label_text); } let mut status = self.status()?;