Skip to contentSkip to conversation

blkiomon: fix cross-arch data analysis issue

PATCH In review Martin Peschke 1 participant 1 message Oct 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 blkiomon: fix cross-arch data analysis issue

From: Martin Peschke <[email protected]>

This fixes cross-arch issues. Binary data gathered on System z could not be read on x86.

---
 blkiomon.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
blkiomon.h +1 -1
@@ -40,7 +40,7 @@ struct blkiomon_stat {
 	__u64 write;
 	__u64 bidir;
 	__u32 device;
-};
+} __attribute__ ((packed));
 
 static struct histlog2 size_hist = {
 	.first = 0,