From 34d045e2bee5aa7c5f99d8dd9034edda52b4b182 Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 27 Aug 2004 02:59:25 +0000 Subject: [PATCH] Wrong access for setting drive capabilites to unknown. --- lib/_cdio_osx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/_cdio_osx.c b/lib/_cdio_osx.c index 7c12f990..50ccf400 100644 --- a/lib/_cdio_osx.c +++ b/lib/_cdio_osx.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_osx.c,v 1.59 2004/08/27 00:03:05 rocky Exp $ + $Id: _cdio_osx.c,v 1.60 2004/08/27 02:59:25 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein from vcdimager code: @@ -34,7 +34,7 @@ #include "config.h" #endif -static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.59 2004/08/27 00:03:05 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.60 2004/08/27 02:59:25 rocky Exp $"; #include #include @@ -377,7 +377,7 @@ get_drive_cap_osx(const void *p_user_data, /*out*/ cdio_drive_misc_cap_t *p_misc_cap) { #if 1 - p_misc_cap = p_write_cap = p_read_cap = CDIO_DRIVE_CAP_UNKNOWN; + *p_misc_cap = *p_write_cap = *p_read_cap = CDIO_DRIVE_CAP_UNKNOWN; return; #else const _img_private_t *p_env = p_user_data; @@ -433,7 +433,7 @@ get_drive_cap_osx(const void *p_user_data, static bool GetDriveDescription ( CFMutableDictionaryRef dict, - /*out*/ scsi_mmc_hwinfo_t *hw_info) + /*out*/ cdio_hwinfo_t *hw_info) { CFDictionaryRef deviceDict = NULL;