diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1997-12-10 00:01:41 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1997-12-10 00:01:41 +0000 |
commit | d00c2a6d581af2261edfb3878499baef78323389 (patch) | |
tree | 2c4a75b29e38073ad910a33fb2e41346a2952208 /sys/compat/linux/linux_cdrom.c | |
parent | 6690a9d92a486677f79c4fb8010a0a8462d6a332 (diff) |
insert forgotten copyright + handle eject ioctl.
Diffstat (limited to 'sys/compat/linux/linux_cdrom.c')
-rw-r--r-- | sys/compat/linux/linux_cdrom.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_cdrom.c b/sys/compat/linux/linux_cdrom.c index 3586fc7d6a2..c54fa8b17bd 100644 --- a/sys/compat/linux/linux_cdrom.c +++ b/sys/compat/linux/linux_cdrom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_cdrom.c,v 1.1 1997/12/07 22:59:14 provos Exp $ */ +/* $OpenBSD: linux_cdrom.c,v 1.2 1997/12/10 00:01:39 provos Exp $ */ /* * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> * All rights reserved. @@ -209,6 +209,9 @@ linux_ioctl_cdrom(p, uap, retval) case LINUX_CDROMSTART: SCARG(&ia, com) = CDIOCSTART; break; + case LINUX_CDROMEJECT: + SCARG(&ia, com) = CDIOCEJECT; + break; default: printf("linux_ioctl_cdrom: invalid ioctl %08lx\n", com); return EINVAL; |