* under the terms of the GNU General Public License as published by the
* Free Software Foundation version 2 of the License.
*
- * Framework based on ata_id which is:
- * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
- *
*/
#ifndef _GNU_SOURCE
result = ioctl(fd, CDROM_GET_CAPABILITY, NULL);
if (result < 0) {
- info("CDROM_GET_CABILITY failed for '%s'", node);
+ info("CDROM_GET_CAPABILITY failed for '%s'", node);
rc = 3;
goto close;
}
if (result & CDC_RAM)
printf("ID_CDROM_RAM=1\n");
- goto close;
-
close:
close(fd);
exit: