hust testsuite: fix a false positive
[oweals/busybox.git] / miscutils / eject.c
index 15eaf556d68bd7c7ba3aca164f0856215d9aeb38..16ae250ff6168edebc36b17d499e3918b765f489 100644 (file)
@@ -40,7 +40,7 @@
 #if ENABLE_FEATURE_EJECT_SCSI
 static void eject_scsi(const char *dev)
 {
-       static const char sg_commands[3][6] = {
+       static const char sg_commands[3][6] ALIGN1 = {
                { ALLOW_MEDIUM_REMOVAL, 0, 0, 0, 0, 0 },
                { START_STOP, 0, 0, 0, 1, 0 },
                { START_STOP, 0, 0, 0, 2, 0 }
@@ -73,7 +73,7 @@ static void eject_scsi(const char *dev)
        ioctl(dev_fd, BLKRRPART);
 }
 #else
-# define eject_scsi() ((void)0)
+# define eject_scsi(dev) ((void)0)
 #endif
 
 /* various defines swiped from linux/cdrom.h */