fix: allow blank media in medium-info

This resolves the second part of issue #19.

This bug was present since upstream v0.79.5
This commit is contained in:
Stéphane Lesimple
2021-01-12 20:07:16 +01:00
parent 93c6a7a887
commit 396c73f5c8
6 changed files with 41 additions and 20 deletions

View File

@@ -894,7 +894,7 @@ typedef struct _Image
} Image;
Image* OpenImageFromFile(char*, int, mode_t);
Image* OpenImageFromDevice(char*); /* really in scsi-layer.h */
Image* OpenImageFromDevice(char*, int); /* really in scsi-layer.h */
Image* OpenEccFileForImage(Image*, char*, int, mode_t);
int ReportImageEccInconsistencies(Image*);
int GetImageFingerprint(Image*, guint8*, guint64);