From 02aa7a81eb7f2324eb639631ac837e685137036a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Apr 2009 18:46:53 +0200 Subject: [PATCH] make sure the blob data is packed. it's certainly packed anyway, but let's better be safe than sorry --- atasmart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atasmart.c b/atasmart.c index 585b0ff..08fb3cd 100644 --- a/atasmart.c +++ b/atasmart.c @@ -78,7 +78,7 @@ struct SkDisk { uint8_t identify[512]; uint8_t smart_data[512]; uint8_t smart_threshold_data[512]; - } blob; + } __attribute__((packed)) blob; SkBool identify_data_valid:1; SkBool smart_data_valid:1; -- 2.7.4