[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Do not print unbounded bogus FACS signature.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1186591824 -3600
# Node ID 484848f240e80cd403b0425fa35d7257bbc18cc2
# Parent  9ef1c3e6c48e3591aa9301db0fe0afc28dd8b5c9
x86: Do not print unbounded bogus FACS signature.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/acpi/boot.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 9ef1c3e6c48e -r 484848f240e8 xen/arch/x86/acpi/boot.c
--- a/xen/arch/x86/acpi/boot.c  Wed Aug 08 17:28:13 2007 +0100
+++ b/xen/arch/x86/acpi/boot.c  Wed Aug 08 17:50:24 2007 +0100
@@ -423,7 +423,7 @@ acpi_fadt_parse_sleep_info(struct fadt_d
                goto bad;
 
        if (strncmp(facs->signature, "FACS", 4)) {
-               printk(KERN_ERR PREFIX "Invalid FACS signature %s\n",
+               printk(KERN_ERR PREFIX "Invalid FACS signature %.4s\n",
                        facs->signature);
                goto bad;
        }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.