summaryrefslogtreecommitdiff
path: root/miscutils/eject.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/eject.c')
-rw-r--r--miscutils/eject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c
index 15eaf55..e33d791 100644
--- a/miscutils/eject.c
+++ b/miscutils/eject.c
@@ -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 */