diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-05-01 16:15:10 -0400 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2009-05-01 15:28:53 -0500 |
commit | 5d95fc3d660929f41b11c6fd6dc2880df1e2062e (patch) | |
tree | 8d91cf69081dabe0a2986cd8c9aa0bcb9d823175 | |
parent | 6aea5ccf2939b0b2045b87a2c0afde9b5e14f91c (diff) | |
download | open-iscsi-5d95fc3d660929f41b11c6fd6dc2880df1e2062e.tar.gz |
iscsi boot: fix fw param conn print out
iscsidm -m fw was printing out the %d for the conn
params instead of the cid.
-rw-r--r-- | utils/fwparam_ibft/fw_entry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/fwparam_ibft/fw_entry.c b/utils/fwparam_ibft/fw_entry.c index 12fe506..b4f003c 100644 --- a/utils/fwparam_ibft/fw_entry.c +++ b/utils/fwparam_ibft/fw_entry.c @@ -95,8 +95,8 @@ static void dump_target(struct boot_context *context) printf("%s = %s\n", NODE_NAME, context->targetname); if (strlen(context->target_ipaddr)) - printf("%s = %s\n", CONN_ADDR, context->target_ipaddr); - printf("%s = %d\n", CONN_PORT, context->target_port); + printf(CONN_ADDR" = %s\n", 0, context->target_ipaddr); + printf(CONN_PORT" = %d\n", 0, context->target_port); if (strlen(context->chap_name)) printf("%s = %s\n", SESSION_USERNAME, context->chap_name); |