diff options
author | Corey Minyard <cminyard@mvista.com> | 2014-12-30 20:31:45 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2014-12-30 20:34:36 +0100 |
commit | 1421c935df159c8b893e82dd81b329b8977c4e86 (patch) | |
tree | bd56a51ca2fe57522110368192537833bd0ba71b /drivers/char | |
parent | Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
download | linux-1421c935df159c8b893e82dd81b329b8977c4e86.tar.xz linux-1421c935df159c8b893e82dd81b329b8977c4e86.zip |
ipmi: Fix compile warning with tv_usec
It's not a long int on all arches.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmi_ssif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index fd5a5e85d7dc..982b96323f82 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -969,7 +969,8 @@ static void sender(void *send_info, do_gettimeofday(&t); pr_info("**Enqueue %02x %02x: %ld.%6.6ld\n", - msg->data[0], msg->data[1], t.tv_sec, t.tv_usec); + msg->data[0], msg->data[1], + (long) t.tv_sec, (long) t.tv_usec); } } |