From 054c738f63cc3d433f5678cc22e91d2fe2237234 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Wed, 13 May 2020 13:01:04 +0300 Subject: [PATCH] iscsi-scst: Add a hint what to look for if no userspace process is connected Signed-off-by: Konstantin Kharlamov [ bvanassche: edited description and patch ] --- iscsi-scst/kernel/target.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/target.c b/iscsi-scst/kernel/target.c index 19b6d751f..8840d349d 100644 --- a/iscsi-scst/kernel/target.c +++ b/iscsi-scst/kernel/target.c @@ -435,7 +435,7 @@ ssize_t iscsi_sysfs_send_event(uint32_t tid, enum iscsi_kern_event_code code, TRACE_ENTRY(); if (ctr_open_state != ISCSI_CTR_OPEN_STATE_OPEN) { - PRINT_ERROR("%s", "User space process not connected"); + PRINT_ERROR("User space process is not connected. Is iscsi-scstd running?"); res = -EPERM; goto out; } @@ -627,4 +627,3 @@ const struct attribute *iscsi_acg_attrs[] = { &iscsi_acg_attr_sess_dedicated_threads.attr, NULL, }; -