From af90543f47f93782df94a3a56d4f607f4dd6ad4c Mon Sep 17 00:00:00 2001 From: Martin Peschke Date: Mon, 11 May 2009 08:41:33 +0200 Subject: blkiomon: fix unaligned accesses on ia64 commit 7aa3ebcec011bfe9cc60d6476252c03376a37551 packed the blkiomon_stat structure so that traces from one arch could be analyzed on another (in truth only x86 is different, at least from x86_64/ia64/ppc/ppc64/s390/s390x) Moving the __u32 device member instead of a new padding field should be fine. Signed-off-by: Martin Peschke Signed-off-by: Jens Axboe --- blkiomon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blkiomon.c') diff --git a/blkiomon.c b/blkiomon.c index c3c1b11..54c8fa7 100644 --- a/blkiomon.c +++ b/blkiomon.c @@ -71,7 +71,7 @@ struct output { int pipe; }; -static char blkiomon_version[] = "0.2"; +static char blkiomon_version[] = "0.3"; static FILE *ifp; static int interval = -1; -- cgit v1.2.3