#include <sys/mount.h>
#include "libbb.h"
/* Must be after libbb.h: they need size_t */
+#include "fix_u32.h"
#include <scsi/sg.h>
#include <scsi/scsi.h>
int cmd = CDROMEJECT;
if (flags & FLAG_CLOSE
- || (flags & FLAG_SMART && ioctl(dev_fd, CDROM_DRIVE_STATUS) == CDS_TRAY_OPEN)
+ || ((flags & FLAG_SMART) && ioctl(dev_fd, CDROM_DRIVE_STATUS) == CDS_TRAY_OPEN)
) {
cmd = CDROMCLOSETRAY;
}