summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-12-14 23:28:32 -0600
committerMike Christie <michaelc@cs.wisc.edu>2007-12-14 23:28:32 -0600
commit7a460770eb371d330314c2353bb5f38cff21c689 (patch)
tree64b10db63b0a829c6852f3234b1ee993316f6e52 /usr
parente3037b489ffe9f2ba9f7399454f4e50f5b381ff4 (diff)
downloadopen-iscsi-7a460770eb371d330314c2353bb5f38cff21c689.tar.gz
fix first_burst vs max_burst printf
Printing out the max_burst when we wanted to print out the first burst.
Diffstat (limited to 'usr')
-rw-r--r--usr/initiator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/initiator.c b/usr/initiator.c
index f0d2cb4..05fba00 100644
--- a/usr/initiator.c
+++ b/usr/initiator.c
@@ -396,7 +396,7 @@ iscsi_copy_operational_params(iscsi_conn_t *conn)
if (session->first_burst > session->max_burst) {
log_error("Invalid iscsi.FirstBurstLength of %u. Must be "
"less than iscsi.MaxBurstLength. Setting to %u\n",
- session->max_burst, session->max_burst);
+ session->first_burst, session->max_burst);
session->first_burst = session->max_burst;
}