syslinux/syslinux-3.82-isohybrid.diff

14 lines
379 B
Diff
Raw Normal View History

diff --git a/utils/isohybrid.in b/utils/isohybrid.in
index a92b572..fd128aa 100644
--- a/utils/isohybrid.in
+++ b/utils/isohybrid.in
@@ -194,7 +194,7 @@ if ($c > 1024) {
# Preserve id when run again
if (defined($opt{'id'})) {
- $id = $opt{'id'};
+ $id = pack("V", $opt{'id'});
} else {
seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n";
read(FILE, $id, 4);