aboutsummaryrefslogtreecommitdiff
path: root/init/bootchartd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-22 18:09:21 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-22 18:09:21 +0200
commit3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch)
tree6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /init/bootchartd.c
parent663d1da1e68b15397c00d6a094f78c2cf08358ea (diff)
downloadbusybox-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 'init/bootchartd.c')
-rw-r--r--init/bootchartd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index 7f511e650..92aaade0f 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -194,7 +194,7 @@ static char *make_tempdir(void)
194 * Since we unmount it at once, we can mount it anywhere. 194 * Since we unmount it at once, we can mount it anywhere.
195 * Try a few locations which are likely ti exist. 195 * Try a few locations which are likely ti exist.
196 */ 196 */
197 static const char dirs[] = "/mnt\0""/tmp\0""/boot\0""/proc\0"; 197 static const char dirs[] ALIGN1 = "/mnt\0""/tmp\0""/boot\0""/proc\0";
198 const char *try_dir = dirs; 198 const char *try_dir = dirs;
199 while (mount("none", try_dir, "tmpfs", MS_SILENT, "size=16m") != 0) { 199 while (mount("none", try_dir, "tmpfs", MS_SILENT, "size=16m") != 0) {
200 try_dir += strlen(try_dir) + 1; 200 try_dir += strlen(try_dir) + 1;