summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/smux.c2
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
diff --git a/lib/smux.c b/lib/smux.c
index 1bec1209..8f809c0d 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);