From: hunt Date: Fri, 21 Sep 2007 13:46:30 +0000 (+0000) Subject: 2007-09-21 Martin Hunt X-Git-Tag: release-0.6~177 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5d1374bb3ac11d922f22d4904b43242a1a6eb94f;p=systemtap.git 2007-09-21 Martin Hunt From Alan Brunelle * control.c (_stp_ctl_read_cmd): Cast count to an int before printing. --- diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog index b03b4b0ae..e36f89d52 100644 --- a/runtime/transport/ChangeLog +++ b/runtime/transport/ChangeLog @@ -1,3 +1,7 @@ +2007-09-21 Martin Hunt + From Alan Brunelle + * control.c (_stp_ctl_read_cmd): Cast count to an int before printing. + 2007-09-20 Martin Hunt * transport.h: Increase default buffer size. diff --git a/runtime/transport/control.c b/runtime/transport/control.c index 6df9a8af8..42f23063a 100644 --- a/runtime/transport/control.c +++ b/runtime/transport/control.c @@ -218,7 +218,7 @@ _stp_ctl_read_cmd (struct file *file, char __user *buf, size_t count, loff_t *pp /* we can't put it back on the queue because it will likely be out-of-order */ /* fortunately this should never happen */ /* FIXME need to mark this as a transport failure */ - errk("Supplied buffer too small. count:%d len:%d\n", count, len); + errk("Supplied buffer too small. count:%d len:%d\n", (int)count, len); return -EFAULT; }