From: Stefan Berger Subject: [PATCH] [XEN][ACM] Boot option parser fix Date: Tue, 26 Jun 2007 18:04:16 -0400 Message-ID: <1182895456.5171.1.camel@gsal-3.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-9dVqfDiCCGGl1eAv8qbx" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-9dVqfDiCCGGl1eAv8qbx Content-Type: text/plain Content-Transfer-Encoding: 7bit This fixes a problem with the boot option parser. Signed-off-by: Stefan Berger --=-9dVqfDiCCGGl1eAv8qbx Content-Disposition: attachment; filename=acm_bootoption_fix.diff Content-Type: text/x-patch; name=acm_bootoption_fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/xen/acm/acm_core.c =================================================================== --- root.orig/xen-unstable.hg/xen/acm/acm_core.c +++ root/xen-unstable.hg/xen/acm/acm_core.c @@ -89,7 +89,7 @@ static void __init set_dom0_ssidref(cons if (hi < ACM_MAX_NUM_TYPES && hi >= 1) dom0_ste_ssidref = hi; for (i = 0; i < sizeof(polname); i++) { - polname[i] = c[7+i]; + polname[i] = c[5+i]; if (polname[i] == '\0' || polname[i] == '\t' || polname[i] == '\n' || polname[i] == ' ' || polname[i] == ':') { --=-9dVqfDiCCGGl1eAv8qbx Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-9dVqfDiCCGGl1eAv8qbx--