Extended sg-API by sg_shutdown(), sg_dispose_drive(), sg_id_string()

This commit is contained in:
2009-12-27 14:45:05 +00:00
parent 5b56956a1e
commit 2dfa6d6b3c
10 changed files with 310 additions and 29 deletions

View File

@ -90,6 +90,7 @@ void burn_drive_free_subs(struct burn_drive *d)
if (d->stdio_fd >= 0)
close (d->stdio_fd);
d->stdio_fd = -1;
sg_dispose_drive(d, 0);
}