mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added ATA report to DiscImageChef.Device.Report.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "atapi.h"
|
||||
#include "atapi_report.h"
|
||||
#include "scsi_report.h"
|
||||
#include "ata_report.h"
|
||||
#include <libxml/xmlwriter.h>
|
||||
|
||||
#define DIC_VERSION "3.99.6.0"
|
||||
@@ -141,6 +142,9 @@ int main(int argc, void *argv[])
|
||||
if(deviceType == DEVICE_TYPE_ATAPI || deviceType == DEVICE_TYPE_SCSI)
|
||||
ScsiReport(fd, xmlWriter);
|
||||
|
||||
if(deviceType == DEVICE_TYPE_ATA)
|
||||
AtaReport(fd, xmlWriter);
|
||||
|
||||
rc = xmlTextWriterEndDocument(xmlWriter);
|
||||
if (rc < 0) {
|
||||
printf("Could not close XML report file.\n");
|
||||
|
||||
Reference in New Issue
Block a user