aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 20:07:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 20:07:12 +0100
commit987be932ed3cbea56b68bbe85649191c13b66015 (patch)
treee6bee7fb9dca0402f5ec97807a64c1c9938dd854 /miscutils
parentca466f385ac985a8b3491daa9f326dc480cdee70 (diff)
downloadbusybox-w32-987be932ed3cbea56b68bbe85649191c13b66015.tar.gz
busybox-w32-987be932ed3cbea56b68bbe85649191c13b66015.tar.bz2
busybox-w32-987be932ed3cbea56b68bbe85649191c13b66015.zip
*: slap on a few ALIGN_PTR where appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/devfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 839d00fd0..fb9ebcf60 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -928,7 +928,7 @@ static void action_compat(const struct devfsd_notify_struct *info, unsigned int
928 unsigned int i; 928 unsigned int i;
929 char rewind_; 929 char rewind_;
930 /* 1 to 5 "scsi/" , 6 to 9 "ide/host" */ 930 /* 1 to 5 "scsi/" , 6 to 9 "ide/host" */
931 static const char *const fmt[] = { 931 static const char *const fmt[] ALIGN_PTR = {
932 NULL , 932 NULL ,
933 "sg/c%db%dt%du%d", /* scsi/generic */ 933 "sg/c%db%dt%du%d", /* scsi/generic */
934 "sd/c%db%dt%du%d", /* scsi/disc */ 934 "sd/c%db%dt%du%d", /* scsi/disc */
@@ -1468,7 +1468,7 @@ const char *get_old_name(const char *devname, unsigned int namelen,
1468 const char *pty1; 1468 const char *pty1;
1469 const char *pty2; 1469 const char *pty2;
1470 /* 1 to 5 "scsi/" , 6 to 9 "ide/host", 10 sbp/, 11 vcc/, 12 pty/ */ 1470 /* 1 to 5 "scsi/" , 6 to 9 "ide/host", 10 sbp/, 11 vcc/, 12 pty/ */
1471 static const char *const fmt[] = { 1471 static const char *const fmt[] ALIGN_PTR = {
1472 NULL , 1472 NULL ,
1473 "sg%u", /* scsi/generic */ 1473 "sg%u", /* scsi/generic */
1474 NULL, /* scsi/disc */ 1474 NULL, /* scsi/disc */