From e97ad68884397c8bf52a3d475d08c73065e1f17d Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 1 Jun 2011 22:17:42 +0000 Subject: [PATCH] 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 --- scst/src/scst_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 0fbcd32f6..e30ddead7 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -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;