From dc3f4265c9628821211f1cdd248eb8917a687ec3 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 17 Mar 2010 12:56:35 +0000 Subject: [PATCH] Key mark for explicit confirmations added git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1546 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x00-target/qla2x00t.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index 297a3585e..8e65e1677 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -5217,7 +5217,8 @@ static ssize_t q2t_show_expl_conf_enabled(struct kobject *kobj, tgt = (struct q2t_tgt *)scst_tgt_get_tgt_priv(scst_tgt); ha = tgt->ha; - size = scnprintf(buffer, PAGE_SIZE, "%d\n", ha->enable_explicit_conf); + size = scnprintf(buffer, PAGE_SIZE, "%d\n%s", ha->enable_explicit_conf, + ha->enable_explicit_conf ? SCST_SYSFS_KEY_MARK "\n" : ""); return size; }