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:
parent
5097a6ca42
commit
e331c54dc5
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user