Key mark for explicit confirmations added
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 17 Mar 2010 12:56:35 +0000 (12:56 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 17 Mar 2010 12:56:35 +0000 (12:56 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1546 d57e44dd-8a1f-0410-8b47-8ef2f437770f

qla2x00t/qla2x00-target/qla2x00t.c

index 297a358..8e65e16 100644 (file)
@@ -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;
 }