summaryrefslogtreecommitdiff
path: root/libbb/get_console.c
diff options
context:
space:
mode:
authorDenys Vlasenko2022-02-06 19:53:10 +0100
committerDenys Vlasenko2022-02-06 19:53:10 +0100
commitca466f385ac985a8b3491daa9f326dc480cdee70 (patch)
tree2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /libbb/get_console.c
parent4f40735c87f8292a87c066b3b7099b0be007cf59 (diff)
downloadbusybox-ca466f385ac985a8b3491daa9f326dc480cdee70.zip
busybox-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz
*: slap on a few ALIGN* where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map" function old new delta .rodata 108586 108460 -126 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-126) Total: -126 bytes text data bss dec hex filename 970412 4219 1848 976479 ee65f busybox_old 970286 4219 1848 976353 ee5e1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/get_console.c')
-rw-r--r--libbb/get_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/get_console.c b/libbb/get_console.c
index 7f2c753..9044efe 100644
--- a/libbb/get_console.c
+++ b/libbb/get_console.c
@@ -37,7 +37,7 @@ static int open_a_console(const char *fnam)
*/
int FAST_FUNC get_console_fd_or_die(void)
{
- static const char *const console_names[] = {
+ static const char *const console_names[] ALIGN_PTR = {
DEV_CONSOLE, CURRENT_VC, CURRENT_TTY
};