Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 22:07:12 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 22:07:12 +0300
commit987be932ed3cbea56b68bbe85649191c13b66015 (patch)
treee6bee7fb9dca0402f5ec97807a64c1c9938dd854 /miscutils
parentca466f385ac985a8b3491daa9f326dc480cdee70 (diff)
*: 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
unsigned int i;
char rewind_;
/* 1 to 5 "scsi/" , 6 to 9 "ide/host" */
- static const char *const fmt[] = {
+ static const char *const fmt[] ALIGN_PTR = {
NULL ,
"sg/c%db%dt%du%d", /* scsi/generic */
"sd/c%db%dt%du%d", /* scsi/disc */
@@ -1468,7 +1468,7 @@ const char *get_old_name(const char *devname, unsigned int namelen,
const char *pty1;
const char *pty2;
/* 1 to 5 "scsi/" , 6 to 9 "ide/host", 10 sbp/, 11 vcc/, 12 pty/ */
- static const char *const fmt[] = {
+ static const char *const fmt[] ALIGN_PTR = {
NULL ,
"sg%u", /* scsi/generic */
NULL, /* scsi/disc */