diff options
author | ajs <ajs> | 2007-04-27 18:13:15 +0000 |
---|---|---|
committer | ajs <ajs> | 2007-04-27 18:13:15 +0000 |
commit | 11fbf18fb9b0712c3c963c7f335c4b708e359045 (patch) | |
tree | 0652fc1c6fb1391fcd0a4583490802b42e72d6ae /lib | |
parent | 6c44cd4095599ad96ff750c8a64973a513f93eed (diff) | |
download | quagga-11fbf18fb9b0712c3c963c7f335c4b708e359045.tar.bz2 quagga-11fbf18fb9b0712c3c963c7f335c4b708e359045.tar.xz |
[64-bit] Fix 4 problems with printf formats and 64-bit size_t
2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* lib/smux.c: (smux_trap) Fix printf format to work with 64-bit size_t.
* ospf6d/ospf6_snmp.c: (ospfv3AreaEntry, ospfv3AreaLsdbEntry) Fix some
zlog_debug printf formats to work with 64-bit size_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 4 | ||||
-rw-r--r-- | lib/smux.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index c58fef29..ff32fcce 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2007-04-27 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * smux.c: (smux_trap) Fix printf format to work with 64-bit size_t. + 2007-04-07 Paul Jakma <paul.jakma@sun.com> * prefix.h: Add define to match IPv4 Link-Local addresses @@ -1091,7 +1091,7 @@ smux_trap (oid *name, size_t namelen, smux_oid_dump ("Trap", iname, inamelen); } smux_oid_dump ("Trap", oid, oid_len); - zlog_info ("BUFSIZ: %d // oid_len: %d", BUFSIZ, oid_len); + zlog_info ("BUFSIZ: %d // oid_len: %lu", BUFSIZ, (u_long)oid_len); } ret = smux_get (oid, &oid_len, 1, &val_type, &val, &val_len); |