Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109410339
D39869.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
729 B
Referenced Files
None
Subscribers
None
D39869.diff
View Options
diff --git a/usr.bin/etdump/etdump.c b/usr.bin/etdump/etdump.c
--- a/usr.bin/etdump/etdump.c
+++ b/usr.bin/etdump/etdump.c
@@ -167,9 +167,8 @@
bvd = (boot_volume_descriptor *)buffer;
if (memcmp(bvd->identifier, ISO_VOLUME_DESCRIPTOR_STANDARD_ID, 5) != 0)
warnx("%s: not a valid ISO", filename);
- if (bvd->boot_record_indicator[0] != ISO_VOLUME_DESCRIPTOR_BOOT)
- warnx("%s: not an El Torito bootable ISO", filename);
- if (memcmp(bvd->boot_system_identifier, ET_ID, 23) != 0)
+ if (bvd->boot_record_indicator[0] != ISO_VOLUME_DESCRIPTOR_BOOT ||
+ memcmp(bvd->boot_system_identifier, ET_ID, 23) != 0)
warnx("%s: not an El Torito bootable ISO", filename);
boot_catalog = isonum_731(bvd->boot_catalog_pointer);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 5:16 PM (19 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16477843
Default Alt Text
D39869.diff (729 B)
Attached To
Mode
D39869: etdump: warn only once for non El Torito bootable ISO images
Attached
Detach File
Event Timeline
Log In to Comment