diff options
author | Alexander Motin <mav@FreeBSD.org> | 2014-12-17 15:13:21 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2014-12-17 15:13:21 +0000 |
commit | 2124e3b07fe7bc1648596b971d9e58180b6fcbad (patch) | |
tree | 663cd0ad837b0a1752ce0820622db742c40e5dd8 /usr.sbin/iscsid/discovery.c | |
parent | a356a1f51f57ec71f2ad40584b9ac856e9c074f4 (diff) | |
download | src-test2-2124e3b07fe7bc1648596b971d9e58180b6fcbad.tar.gz src-test2-2124e3b07fe7bc1648596b971d9e58180b6fcbad.zip |
Notes
Diffstat (limited to 'usr.sbin/iscsid/discovery.c')
-rw-r--r-- | usr.sbin/iscsid/discovery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/iscsid/discovery.c b/usr.sbin/iscsid/discovery.c index c87d9fff7356..a8975d73077a 100644 --- a/usr.sbin/iscsid/discovery.c +++ b/usr.sbin/iscsid/discovery.c @@ -66,7 +66,7 @@ text_receive(struct connection *conn) log_errx(1, "received Text PDU with unsupported \"C\" flag"); if (ntohl(bhstr->bhstr_statsn) != conn->conn_statsn + 1) { log_errx(1, "received Text PDU with wrong StatSN: " - "is %d, should be %d", ntohl(bhstr->bhstr_statsn), + "is %u, should be %u", ntohl(bhstr->bhstr_statsn), conn->conn_statsn + 1); } conn->conn_statsn = ntohl(bhstr->bhstr_statsn); @@ -112,7 +112,7 @@ logout_receive(struct connection *conn) ntohs(bhslr->bhslr_response)); if (ntohl(bhslr->bhslr_statsn) != conn->conn_statsn + 1) { log_errx(1, "received Logout PDU with wrong StatSN: " - "is %d, should be %d", ntohl(bhslr->bhslr_statsn), + "is %u, should be %u", ntohl(bhslr->bhslr_statsn), conn->conn_statsn + 1); } conn->conn_statsn = ntohl(bhslr->bhslr_statsn); |