[git commit] mount: make filesystems[] array byte-aligned

Denys Vlasenko vda.linux at googlemail.com
Mon Nov 30 14:10:43 UTC 2020


commit: https://git.busybox.net/busybox/commit/?id=6599e380ed5e1b1272a5e0e26183471d8b4b2051
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

   text	   data	    bss	    dec	    hex	filename
1021120	    559	   5052	1026731	  faaab	busybox_old
1021092	    559	   5052	1026703	  faa8f	busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util-linux/mount.c b/util-linux/mount.c
index aa38847ec..cfb6b570f 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -641,7 +641,7 @@ static unsigned long parse_mount_options(char *options, char **unrecognized)
 // Return a list of all block device backed filesystems
 static llist_t *get_block_backed_filesystems(void)
 {
-	static const char filesystems[2][sizeof("/proc/filesystems")] = {
+	static const char filesystems[2][sizeof("/proc/filesystems")] ALIGN1 = {
 		"/etc/filesystems",
 		"/proc/filesystems",
 	};


More information about the busybox-cvs mailing list