]> sourceware.org Git - systemtap.git/commitdiff
2007-09-21 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 21 Sep 2007 13:46:30 +0000 (13:46 +0000)
committerhunt <hunt>
Fri, 21 Sep 2007 13:46:30 +0000 (13:46 +0000)
From Alan Brunelle
* control.c (_stp_ctl_read_cmd): Cast count to an int before printing.

runtime/transport/ChangeLog
runtime/transport/control.c

index b03b4b0aef342a8cfd2d9958e4ddb8d79b01c667..e36f89d52c5230c9eb2816001c14648b6cc807e3 100644 (file)
@@ -1,3 +1,7 @@
+2007-09-21  Martin Hunt  <hunt@redhat.com>
+       From Alan Brunelle
+       * control.c (_stp_ctl_read_cmd): Cast count to an int before printing.
+
 2007-09-20  Martin Hunt  <hunt@redhat.com>
 
        * transport.h: Increase default buffer size.
index 6df9a8af83762d5a2db089c2fe6d24088fee9f94..42f23063a8ee8f90a60c6c17d3f83829e27de12f 100644 (file)
@@ -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;
        }
 
This page took 0.029793 seconds and 5 git commands to generate.