Skip to content

Commit

Permalink
ipmi: Fix compile warning with tv_usec
Browse files Browse the repository at this point in the history
It's not a long int on all arches.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
  • Loading branch information
Corey Minyard committed Dec 30, 2014
1 parent 5faa015 commit 1421c93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/char/ipmi/ipmi_ssif.c
Original file line number Diff line number Diff line change
@@ -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);
}
}

0 comments on commit 1421c93

Please sign in to comment.