-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 13 Jan 2010, Steffen Maier wrote:
---
loader/controlunits.sh | 6 +++---
loader/lsznet.raw | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/loader/controlunits.sh b/loader/controlunits.sh
index 890598d..5364d76 100644
--- a/loader/controlunits.sh
+++ b/loader/controlunits.sh
@@ -83,9 +83,9 @@ readonly -a CU_GROUPCHANNELS=(
)
readonly -a CHPIDTYPES=(
- [10]=OSE
- [11]=OSD
- [24]=IQD
+ [0x10]=OSE
+ [0x11]=OSD
+ [0x24]=IQD
)
# Searches for a match of argument 1 on the array $CU and sets $cu_idx
diff --git a/loader/lsznet.raw b/loader/lsznet.raw
index a260f6d..fad515f 100644
--- a/loader/lsznet.raw
+++ b/loader/lsznet.raw
@@ -70,7 +70,7 @@ function debug() {
# Always succeeds and returns 0.
function search_chpt() {
local chpidtype_number=$1
- chpidtype_symbolic=${CHPIDTYPES[$chpidtype_number]}
+ chpidtype_symbolic=${CHPIDTYPES[$((0x$chpidtype_number))]}
if [ "$chpidtype_symbolic" == "" ]; then
chpidtype_symbolic="?"
fi
Thanks, applying patch to master and rhel6-branch.
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAktVB+sACgkQ5hsjjIy1VklyrgCfVRH9+mqJNpyJ4egmky1/AYuH
ZR4AoLO2ftN1f+XdfuJIDsrsglaHDH0D
=Zvr5
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list