Logging cleanup

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4913 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-07-06 00:45:05 +00:00
parent 0043f510cb
commit 48fe99f3c0
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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",
+4 -4
View File
@@ -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;
}