Lines Matching refs:errmsg
648 char *errmsg = NULL;
650 if ((errmsg == NULL) && (cond & CHECK_TYPE_NOT_CDROM) &&
652 errmsg =
656 if ((errmsg == NULL) && (cond & CHECK_DEVICE_NOT_READY) &&
658 errmsg = gettext("Device not ready");
662 if ((errmsg == NULL) && (cond & CHECK_DEVICE_NOT_WRITABLE)) {
665 errmsg = gettext("Target device is not a CD writer");
669 if ((errmsg == NULL) && (cond & CHECK_NO_MEDIA)) {
676 errmsg = gettext("No media in device");
683 if ((errmsg == NULL) && ((cond & CHECK_MEDIA_IS_NOT_BLANK) ||
689 errmsg = gettext("Cannot obtain disc information");
695 if (errmsg == NULL) {
697 errmsg = gettext(
701 errmsg = gettext(
707 errmsg = gettext(
712 if (errmsg) {
714 err_msg("%s.\n", errmsg);