]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cdrom.cc
cherry pick 39a07ec8f2c612a5af234c7713571362f7ca90b4
[apt.git] / cmdline / apt-cdrom.cc
index 520b1e0a0badff2e43b03494550864cbbdcd4c60..c153cca85f514774a027b20a3e305f838bc5cbd8 100644 (file)
                                                                        /*}}}*/
 static const char *W_NO_CDROM_FOUND = \
    N_("No CD-ROM could be auto-detected or found using "
-      "the default mount path.\n"
-      "You may try the --cdrom option to set the CD-ROM mount path. "
+      "the default mount point.\n"
+      "You may try the --cdrom option to set the CD-ROM mount point. "
       "See 'man apt-cdrom' for more "
-      "information about the CD-ROM auto-detection and mount path.");
+      "information about the CD-ROM auto-detection and mount point.");
 
 using namespace std;
 
@@ -162,7 +162,7 @@ bool DoAdd(CommandLine &)
    if (count == 0) {
       res = cdrom.Add(&log);
       if (res == false) {
-         _error->Warning(_(W_NO_CDROM_FOUND));
+         _error->Error("%s", _(W_NO_CDROM_FOUND));
       }
    }
 
@@ -192,7 +192,7 @@ bool DoIdent(CommandLine &)
    if (count == 0) {
       res = cdrom.Ident(ident, &log);
       if (res == false) {
-         _error->Warning(_(W_NO_CDROM_FOUND));
+         _error->Error("%s", _(W_NO_CDROM_FOUND));
       }
    }
    return res;