summaryrefslogtreecommitdiff
path: root/usr.bin/cdio/cdio.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-05-01 12:40:29 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-05-01 12:40:29 +0000
commitaaa9a5eebe06288623e831e0c2949efdbbe08eca (patch)
treef470e79ac1914b9267c39050cccd1831df07cd76 /usr.bin/cdio/cdio.c
parentc7f2ba43ba7a75a351286fecf1b0526ae046125a (diff)
CDIOCSETSTEREO -> CDIOCSETSTERIO, go@cclub.tutcc.tut.ac.jp
Diffstat (limited to 'usr.bin/cdio/cdio.c')
-rw-r--r--usr.bin/cdio/cdio.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index ba6879023d1..5f1c1476990 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.7 1997/03/19 03:21:49 angelos Exp $ */
+/* $OpenBSD: cdio.c,v 1.8 1997/05/01 12:40:28 downsj Exp $ */
/*
* Compact Disc Control Utility by Serge V. Vakulenko <vak@cronyx.ru>.
* Based on the non-X based CD player by Jean-Marc Zucconi and
@@ -377,14 +377,8 @@ int run (cmd, arg)
if (! strncasecmp (arg, "mono", strlen(arg)))
return ioctl (fd, CDIOCSETMONO);
-#if defined(CDIOCSETSTERIO)
if (! strncasecmp (arg, "stereo", strlen(arg)))
- return ioctl (fd, CDIOCSETSTERIO);
-#else
- printf ("%s: Command argument not yet supported\n",
- __progname);
- return (0);
-#endif
+ return ioctl (fd, CDIOCSETSTEREO);
if (! strncasecmp (arg, "mute", strlen(arg)))
return ioctl (fd, CDIOCSETMUTE);