aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSteffen Winterfeldt <snwint@suse.de>2009-08-03 15:21:02 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-08-03 14:12:09 -0700
commitd59d154036bf223d7cc1b32bf5fd40f0c2244cdc (patch)
tree07649dd132212e6f3489c8db3ecd6793492be665 /utils
parent386255cf3c6519926abafd3760f504115519928b (diff)
downloadsyslinux-d59d154036bf223d7cc1b32bf5fd40f0c2244cdc.tar.gz
syslinux-d59d154036bf223d7cc1b32bf5fd40f0c2244cdc.tar.xz
syslinux-d59d154036bf223d7cc1b32bf5fd40f0c2244cdc.zip
isohybrid: convert -id to a binary string
Shouldn't 'isohybrid -id ID' write ID as 32bit number? Currently it ends up as string messing up the mbr.
Diffstat (limited to 'utils')
-rw-r--r--utils/isohybrid.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/isohybrid.in b/utils/isohybrid.in
index a92b5726..0726bed9 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", doh($opt{'id'}));
} else {
seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n";
read(FILE, $id, 4);