summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-03 18:46:53 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-03 18:46:53 +0200
commit02aa7a81eb7f2324eb639631ac837e685137036a (patch)
tree4e8e3531b14104314ddd00f787307b0f4495d269
parent8b03189342398513e6d7fb2dbed784cc03c1de22 (diff)
make sure the blob data is packed. it's certainly packed anyway, but let's better be safe than sorry
-rw-r--r--atasmart.c2
1 files changed, 1 insertions, 1 deletions
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;