Blame SOURCES/open-iscsi-2.0.876-93-Restore-space-in-node-mode-level-0-output.patch
|
|
62f653 |
commit baa0cb45cfcf10a81283c191b0b236cd1a2f66ee
|
|
|
62f653 |
Author: Lee Duncan <lduncan@suse.com>
|
|
|
62f653 |
Date: Fri Oct 12 09:57:20 2018 -0700
|
|
|
62f653 |
|
|
|
62f653 |
Restore space in node-mode level 0 output
|
|
|
62f653 |
|
|
|
62f653 |
As part of the libopeniscsiusr update, the output
|
|
|
62f653 |
of "iscsiadm -m node" dropped a space that needs to
|
|
|
62f653 |
be between the portal and the target, for proper
|
|
|
62f653 |
parsing.
|
|
|
62f653 |
|
|
|
62f653 |
Fixes: 87ea50a1c3a97
|
|
|
62f653 |
|
|
|
62f653 |
diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
|
|
|
62f653 |
index e3ba03c838f3..25c6cdc0ff12 100644
|
|
|
62f653 |
--- a/usr/iscsiadm.c
|
|
|
62f653 |
+++ b/usr/iscsiadm.c
|
|
|
62f653 |
@@ -683,7 +683,7 @@ static int login_portals(struct node_rec *pattern_rec)
|
|
|
62f653 |
|
|
|
62f653 |
static void print_node_flat(struct iscsi_node *node)
|
|
|
62f653 |
{
|
|
|
62f653 |
- printf("%s,%" PRIu16 "%s\n",
|
|
|
62f653 |
+ printf("%s,%" PRIu16 " %s\n",
|
|
|
62f653 |
iscsi_node_portal_get(node),
|
|
|
62f653 |
iscsi_node_tpgt_get(node),
|
|
|
62f653 |
iscsi_node_target_name_get(node));
|