From 5d1374bb3ac11d922f22d4904b43242a1a6eb94f Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 21 Sep 2007 13:46:30 +0000 Subject: 2007-09-21 Martin Hunt From Alan Brunelle * control.c (_stp_ctl_read_cmd): Cast count to an int before printing. --- runtime/transport/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/transport/control.c') 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; } -- cgit