diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-22 18:09:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-22 18:09:21 +0200 |
commit | 3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch) | |
tree | 6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /util-linux/volume_id | |
parent | 663d1da1e68b15397c00d6a094f78c2cf08358ea (diff) | |
download | busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.gz busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.bz2 busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.zip |
*: slap on a few ALIGN1/2s where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map"
text data bss dec hex filename
829901 4086 1904 835891 cc133 busybox_before
829665 4086 1904 835655 cc047 busybox
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id')
-rw-r--r-- | util-linux/volume_id/bcache.c | 2 | ||||
-rw-r--r-- | util-linux/volume_id/luks.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/volume_id/bcache.c b/util-linux/volume_id/bcache.c index 648e44de5..fd40eb081 100644 --- a/util-linux/volume_id/bcache.c +++ b/util-linux/volume_id/bcache.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #define SB_LABEL_SIZE 32 | 24 | #define SB_LABEL_SIZE 32 |
25 | #define SB_JOURNAL_BUCKETS 256U | 25 | #define SB_JOURNAL_BUCKETS 256U |
26 | 26 | ||
27 | static const char bcache_magic[] = { | 27 | static const char bcache_magic[] ALIGN1 = { |
28 | 0xc6, 0x85, 0x73, 0xf6, 0x4e, 0x1a, 0x45, 0xca, | 28 | 0xc6, 0x85, 0x73, 0xf6, 0x4e, 0x1a, 0x45, 0xca, |
29 | 0x82, 0x65, 0xf5, 0x7f, 0x48, 0xba, 0x6d, 0x81 | 29 | 0x82, 0x65, 0xf5, 0x7f, 0x48, 0xba, 0x6d, 0x81 |
30 | }; | 30 | }; |
diff --git a/util-linux/volume_id/luks.c b/util-linux/volume_id/luks.c index 42bf87659..21cb26f51 100644 --- a/util-linux/volume_id/luks.c +++ b/util-linux/volume_id/luks.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #define LUKS_SALTSIZE 32 | 40 | #define LUKS_SALTSIZE 32 |
41 | #define LUKS_NUMKEYS 8 | 41 | #define LUKS_NUMKEYS 8 |
42 | 42 | ||
43 | static const uint8_t LUKS_MAGIC[] = { 'L','U','K','S', 0xba, 0xbe }; | 43 | static const uint8_t LUKS_MAGIC[] ALIGN1 = { 'L','U','K','S', 0xba, 0xbe }; |
44 | 44 | ||
45 | struct luks_phdr { | 45 | struct luks_phdr { |
46 | uint8_t magic[LUKS_MAGIC_L]; | 46 | uint8_t magic[LUKS_MAGIC_L]; |