diff options
author | hunt <hunt> | 2006-11-02 18:42:56 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-11-02 18:42:56 +0000 |
commit | 1b23e9c2eff35c8385ca4a70324dcfd4cbba4e69 (patch) | |
tree | dce92216f740b97806d158b30f4cf617474afa01 /runtime/transport/symbols.c | |
parent | f1bad60c76d79f01a87e4128df266bf4252a71e0 (diff) | |
download | systemtap-steved-1b23e9c2eff35c8385ca4a70324dcfd4cbba4e69.tar.gz systemtap-steved-1b23e9c2eff35c8385ca4a70324dcfd4cbba4e69.tar.xz systemtap-steved-1b23e9c2eff35c8385ca4a70324dcfd4cbba4e69.zip |
2006-11-02 Martin Hunt <hunt@redhat.com>
* symbols.c (_stp_do_module): Fix error message.
Diffstat (limited to 'runtime/transport/symbols.c')
-rw-r--r-- | runtime/transport/symbols.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |