summaryrefslogtreecommitdiff
path: root/usr/event_poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/event_poll.c')
-rw-r--r--usr/event_poll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/event_poll.c b/usr/event_poll.c
index bfcdcf3..f36fec1 100644
--- a/usr/event_poll.c
+++ b/usr/event_poll.c
@@ -35,6 +35,7 @@
#include "iscsi_ipc.h"
#include "actor.h"
#include "initiator.h"
+#include "iscsi_err.h"
static int reap_count;
@@ -174,5 +175,5 @@ void event_loop(struct iscsi_ipc *ipc, int control_fd, int mgmt_ipc_fd)
sysfs_cleanup();
}
if (shutdown_qtask)
- mgmt_ipc_write_rsp(shutdown_qtask, MGMT_IPC_OK);
+ mgmt_ipc_write_rsp(shutdown_qtask, ISCSI_SUCCESS);
}