diff options
Diffstat (limited to 'init/bootchartd.c')
-rw-r--r-- | init/bootchartd.c | 2 |
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; |