diff options
author | Steffen Winterfeldt <snwint@suse.de> | 2009-08-03 15:21:02 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-03 14:12:09 -0700 |
commit | d59d154036bf223d7cc1b32bf5fd40f0c2244cdc (patch) | |
tree | 07649dd132212e6f3489c8db3ecd6793492be665 /utils | |
parent | 386255cf3c6519926abafd3760f504115519928b (diff) | |
download | syslinux-d59d154036bf223d7cc1b32bf5fd40f0c2244cdc.tar.gz |
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.in | 2 |
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); |