Merge of the missed r3399:

Minor logging fix



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-06-01 22:17:42 +00:00
parent 694be76c34
commit e97ad68884

View File

@@ -1586,7 +1586,7 @@ int scst_add_threads(struct scst_cmd_threads *cmd_threads,
}
TRACE_DBG("cmd_threads %p, dev %s, tgt_dev %p, num %d, n %d",
cmd_threads, dev->virt_name, tgt_dev, num, n);
cmd_threads, dev ? dev->virt_name : NULL, tgt_dev, num, n);
if (tgt_dev != NULL) {
struct scst_tgt_dev *t;