diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-05-07 18:43:42 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-05-07 18:43:42 +0000 |
commit | aec6bfeaa84921f9fb78b77505fe6b4dfc5a4378 (patch) | |
tree | a1f4833610ad989861dbf4a61c1ada1fa4245ebb /ASNMP | |
parent | 540a81d9ca62667eb19bfada40ae2aeca0d585fb (diff) | |
download | ATCD-aec6bfeaa84921f9fb78b77505fe6b4dfc5a4378.tar.gz |
ChangeLogTag:Fri May 7 11:40:25 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/ChangeLog | 7 | ||||
-rw-r--r-- | ASNMP/asnmp/pdu.cpp | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ASNMP/asnmp/ChangeLog b/ASNMP/asnmp/ChangeLog index ac87d346e43..d517b1480bf 100644 --- a/ASNMP/asnmp/ChangeLog +++ b/ASNMP/asnmp/ChangeLog @@ -1,3 +1,10 @@ +Fri May 7 11:40:25 2004 Ossama Othman <ossama@dre.vanderbilt.edu> + + * pdu.cpp (agent_error_reason): + + Really fixed mismatched sprintf() format specifiers this time + around. + Thu May 6 11:13:25 2004 Ossama Othman <ossama@dre.vanderbilt.edu> * oid.cpp (operator+=, OidToStr): diff --git a/ASNMP/asnmp/pdu.cpp b/ASNMP/asnmp/pdu.cpp index 49d63b58b6a..de204e58638 100644 --- a/ASNMP/asnmp/pdu.cpp +++ b/ASNMP/asnmp/pdu.cpp @@ -316,8 +316,8 @@ const char *Pdu::agent_error_reason() } ACE_OS::sprintf(output_, - "FAIL PDU REPORT: pdu id: %d vb cnt: %d vb idx: %ld \n" - " msg: %s vb oid: %s value: %s", + "FAIL PDU REPORT: pdu id: %lu vb cnt: %d vb idx: %d\n" + " msg: %s vb oid: %s value: %s\n", get_request_id(), n_vbs, get_error_index(), pmsg, id, val); |