diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 2ad062121..66dd2ed94 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -565,7 +565,7 @@ struct scst_tgt *scst_register_target(struct scst_tgt_template *vtt, mutex_unlock(&scst_mutex); #ifdef CONFIG_SCST_PROC - PRINT_INFO("Target %s (rel ID %d) for template %s registered " + PRINT_INFO("Target %s (relative target id %d) for template %s registered " "successfully", tgt->tgt_name, tgt->rel_tgt_id, vtt->name); #else PRINT_INFO("Target %s for template %s registered successfully", diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index f35d49726..dc3077cf6 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -2014,13 +2014,13 @@ static int scst_process_tgt_enable_store(struct scst_tgt *tgt, bool enable) res = gen_relative_target_port_id(&tgt->rel_tgt_id); if (res != 0) goto out_put; - PRINT_INFO("Using autogenerated rel ID %d for target " - "%s", tgt->rel_tgt_id, tgt->tgt_name); + PRINT_INFO("Using autogenerated relative target id %d " + "for target %s", tgt->rel_tgt_id, tgt->tgt_name); } else { if (!scst_is_relative_target_port_id_unique( tgt->rel_tgt_id, tgt)) { - PRINT_ERROR("Relative port id %d is not unique", - tgt->rel_tgt_id); + PRINT_ERROR("Relative target id %d is not " + "unique", tgt->rel_tgt_id); res = -EBADSLT; goto out_put; }