1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-26 14:04:03 +03:00

fix typo in cdrom_id syslog

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
This commit is contained in:
Kay Sievers 2005-08-18 04:54:59 +02:00
parent 5097a6ca42
commit e331c54dc5

View File

@ -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: