mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 11:55:44 +03:00
fix klibc build issue in cdrom_id.c
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c1986ea33c
commit
5a64cea1e1
@ -91,7 +91,7 @@ int main(int argc, char *argv[])
|
||||
goto exit;
|
||||
}
|
||||
|
||||
result = ioctl(fd, CDROM_GET_CAPABILITY);
|
||||
result = ioctl(fd, CDROM_GET_CAPABILITY, NULL);
|
||||
if (result < 0) {
|
||||
err("CDROM_GET_CABILITY failed for '%s'", node);
|
||||
rc = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user