Skip to content

Commit

Permalink
Restore space in node-mode level 0 output
Browse files Browse the repository at this point in the history
As part of the libopeniscsiusr update, the output
of "iscsiadm -m node" dropped a space that needs to
be between the portal and the target, for proper
parsing.

Fixes: 87ea50a
  • Loading branch information
gonzoleeman committed Oct 12, 2018
1 parent 1185b00 commit baa0cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/iscsiadm.c
Expand Up @@ -683,7 +683,7 @@ static int login_portals(struct node_rec *pattern_rec)

static void print_node_flat(struct iscsi_node *node)
{
printf("%s,%" PRIu16 "%s\n",
printf("%s,%" PRIu16 " %s\n",
iscsi_node_portal_get(node),
iscsi_node_tpgt_get(node),
iscsi_node_target_name_get(node));
Expand Down

0 comments on commit baa0cb4

Please sign in to comment.