get_mcn paramater is const.

solaris: failed attempt to get mcn and drive capabilities. Some
boilerplate routines used.

scsi_mmc: more defines.

src/cd-drive.c: bugfix when cdio is null
src/util.c: small enhancement.
This commit is contained in:
rocky
2004-04-25 03:52:37 +00:00
parent 1bf5f1e464
commit 36507b3c10
7 changed files with 153 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: util.c,v 1.5 2004/04/25 00:46:34 rocky Exp $
$Id: util.c,v 1.6 2004/04/25 03:52:37 rocky Exp $
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
@@ -94,7 +94,7 @@ print_drive_capabilities(cdio_drive_cap_t i_drive_cap)
printf("Error in getting drive properties\n");
} else {
printf("Hardware : %s\n",
i_drive_cap & CDIO_DRIVE_FILE ? "Disk Image" : "CD-ROM/DVD");
i_drive_cap & CDIO_DRIVE_FILE ? "Disk Image" : "CD-ROM or DVD");
printf("Can open tray : %s\n",
i_drive_cap & CDIO_DRIVE_OPEN_TRAY ? "Yes" : "No");
printf("Can close tray : %s\n\n",