summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-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;
}