From 1b23e9c2eff35c8385ca4a70324dcfd4cbba4e69 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 2 Nov 2006 18:42:56 +0000 Subject: 2006-11-02 Martin Hunt * symbols.c (_stp_do_module): Fix error message. --- runtime/transport/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/transport/symbols.c') diff --git a/runtime/transport/symbols.c b/runtime/transport/symbols.c index e583103f..794e7391 100644 --- a/runtime/transport/symbols.c +++ b/runtime/transport/symbols.c @@ -348,7 +348,7 @@ static int _stp_do_module(const char __user *buf, int count) int i; if (count < sizeof(tmpmod)) { - printk("_stp_do_modules: expected %ld and got %d\n", sizeof(tmpmod), count); + printk("_stp_do_modules: expected %d and got %d\n", (int)sizeof(tmpmod), count); return -EFAULT; } if (copy_from_user ((char *)&tmpmod, buf, sizeof(tmpmod))) -- cgit