summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2007-09-21 13:46:30 +0000
committerhunt <hunt>2007-09-21 13:46:30 +0000
commit5d1374bb3ac11d922f22d4904b43242a1a6eb94f (patch)
tree32389561a982c23fed54b959530d3b2afda12381
parentbe1487de1597bd3fe070d9edffdb6f66314c0535 (diff)
downloadsystemtap-steved-5d1374bb3ac11d922f22d4904b43242a1a6eb94f.tar.gz
systemtap-steved-5d1374bb3ac11d922f22d4904b43242a1a6eb94f.tar.xz
systemtap-steved-5d1374bb3ac11d922f22d4904b43242a1a6eb94f.zip
2007-09-21 Martin Hunt <hunt@redhat.com>
From Alan Brunelle * control.c (_stp_ctl_read_cmd): Cast count to an int before printing.
-rw-r--r--runtime/transport/ChangeLog4
-rw-r--r--runtime/transport/control.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/transport/ChangeLog b/runtime/transport/ChangeLog
index b03b4b0a..e36f89d5 100644
--- a/runtime/transport/ChangeLog
+++ b/runtime/transport/ChangeLog
@@ -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.
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index 6df9a8af..42f23063 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;
}