summaryrefslogtreecommitdiffstats
path: root/lib/smux.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>2007-04-27 20:13:15 +0200
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>2007-04-27 20:13:15 +0200
commiteda9ba743c1eb7c32b2ae9b8989d3555f1890758 (patch)
treef135b84aff5b76bf82d7fa0f00a1726674661164 /lib/smux.c
parent[ripd, ripngd] Remove useless code in rip_vty_out_uptime function (diff)
downloadfrr-eda9ba743c1eb7c32b2ae9b8989d3555f1890758.tar.xz
frr-eda9ba743c1eb7c32b2ae9b8989d3555f1890758.zip
[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/smux.c')
-rw-r--r--lib/smux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smux.c b/lib/smux.c
index 1bec1209b..8f809c0db 100644
--- a/lib/smux.c
+++ b/lib/smux.c
@@ -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);