diff --git a/lib/FreeBSD/freebsd.c b/lib/FreeBSD/freebsd.c index cc46a1b3..345b9a97 100644 --- a/lib/FreeBSD/freebsd.c +++ b/lib/FreeBSD/freebsd.c @@ -1,5 +1,5 @@ /* - $Id: freebsd.c,v 1.18 2004/06/05 02:47:49 rocky Exp $ + $Id: freebsd.c,v 1.19 2004/06/12 17:40:07 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein @@ -27,7 +27,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: freebsd.c,v 1.18 2004/06/05 02:47:49 rocky Exp $"; +static const char _rcsid[] = "$Id: freebsd.c,v 1.19 2004/06/12 17:40:07 rocky Exp $"; #include "freebsd.h" @@ -47,7 +47,7 @@ str_to_access_mode_freebsd(const char *psz_access_mode) else if (!strcmp(psz_access_mode, "CAM")) return _AM_CAM; else { - cdio_warn ("unknown access type: %s. Default IOCTL used.", + cdio_warn ("unknown access type: %s. Default ioctl used.", psz_access_mode); return default_access_mode; } diff --git a/lib/FreeBSD/freebsd.h b/lib/FreeBSD/freebsd.h index 134211f2..4fa40786 100644 --- a/lib/FreeBSD/freebsd.h +++ b/lib/FreeBSD/freebsd.h @@ -1,5 +1,5 @@ /* - $Id: freebsd.h,v 1.9 2004/06/05 02:47:49 rocky Exp $ + $Id: freebsd.h,v 1.10 2004/06/12 17:40:08 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein @@ -58,6 +58,19 @@ #ifdef HAVE_SYS_CDIO_H # include #endif + +#ifndef CDIOCREADAUDIO +struct ioc_read_audio +{ + u_char address_format; + union msf_lba address; + int nframes; + u_char* buffer; +}; + +#define CDIOCREADAUDIO _IOWR('c',31,struct ioc_read_audio) +#endif + #include #include