Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 1997 09:07:50 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        current@FreeBSD.ORG
Cc:        paulo@isr.uc.pt (Paulo Menezes)
Subject:   Re: Worm problems
Message-ID:  <19970507090750.KE29190@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.95.970506220106.573A-100000@lapa.isr.uc.pt>; from Paulo Menezes on May 6, 1997 22:04:10 %2B0100
References:  <Pine.BSF.3.95.970506220106.573A-100000@lapa.isr.uc.pt>

next in thread | previous in thread | raw e-mail | index | archive | help
As Paulo Menezes wrote:

> ../../scsi/worm.c: In function `worm_ioctl':
> ../../scsi/worm.c:769: `CDIOREADTOCENTRY' undeclared (first use this
> function)

Umm, sorry.  That's what i've got for working on different branches...

Apply this patch, please.  I'll commit it to the tree ASAP.

Index: /sys/sys/cdio.h
===================================================================
RCS file: /home/cvs/src/sys/sys/cdio.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -u -r1.16 -r1.17
--- cdio.h	1997/02/22 09:44:53	1.16
+++ cdio.h	1997/05/04 15:24:23	1.17
@@ -158,6 +158,14 @@
 #define CDIOREADTOCENTRYS _IOWR('c',5,struct ioc_read_toc_entry)
 
 
+struct ioc_read_toc_single_entry {
+	u_char	address_format;
+	u_char	track;
+	struct  cd_toc_entry entry;
+};
+#define CDIOREADTOCENTRY _IOWR('c',6,struct ioc_read_toc_single_entry)
+
+
 struct	ioc_patch
 {
 	u_char	patch[4];	/* one for each channel */

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970507090750.KE29190>