From 87c4b8d39b2a07025b6cbe1f696765b38e166f45 Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 14 Jan 2005 22:04:24 +0000 Subject: [PATCH] Small error. Used the wrong variable for extracting the revision. --- lib/driver/_cdio_osx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/driver/_cdio_osx.c b/lib/driver/_cdio_osx.c index f02e9097..962618c5 100644 --- a/lib/driver/_cdio_osx.c +++ b/lib/driver/_cdio_osx.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_osx.c,v 1.3 2005/01/06 04:09:47 rocky Exp $ + $Id: _cdio_osx.c,v 1.4 2005/01/14 22:04:24 rocky Exp $ Copyright (C) 2003, 2004, 2005 Rocky Bernstein from vcdimager code: @@ -34,7 +34,7 @@ #include "config.h" #endif -static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.3 2005/01/06 04:09:47 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_osx.c,v 1.4 2005/01/14 22:04:24 rocky Exp $"; #include #include @@ -599,7 +599,7 @@ get_hwinfo_osx ( const CdIo *p_cdio, /*out*/ cdio_hwinfo_t *hw_info) CFDictionaryGetValue ( deviceDict, CFSTR ( kIOPropertyProductRevisionLevelKey ) ); - if ( CFStringGetCString( product, + if ( CFStringGetCString( revision, (char *) &(hw_info->psz_revision), sizeof(hw_info->psz_revision), kCFStringEncodingASCII ) )