summaryrefslogtreecommitdiff
path: root/extras/cdrom_id/cdrom_id.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-18 04:54:59 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-18 04:54:59 +0200
commite331c54dc58a8228018e1a29e84eff76cd9f8fe1 (patch)
tree39d2401dff78911c9317ef9101b542ec5539a23f /extras/cdrom_id/cdrom_id.c
parent5097a6ca426a4e4553c032a3be8a639cbdb77362 (diff)
fix typo in cdrom_id syslog
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/cdrom_id/cdrom_id.c')
-rw-r--r--extras/cdrom_id/cdrom_id.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/extras/cdrom_id/cdrom_id.c b/extras/cdrom_id/cdrom_id.c
index 941a2facfe..091bf91559 100644
--- a/extras/cdrom_id/cdrom_id.c
+++ b/extras/cdrom_id/cdrom_id.c
@@ -121,7 +121,7 @@ int main(int argc, char *argv[])
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;
}
@@ -147,8 +147,6 @@ int main(int argc, char *argv[])
if (result & CDC_RAM)
printf("ID_CDROM_RAM=1\n");
- goto close;
-
close:
close(fd);
exit: