ia64/xen-unstable

changeset 15736:484848f240e8

x86: Do not print unbounded bogus FACS signature.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Aug 08 17:50:24 2007 +0100 (2007-08-08)
parents 9ef1c3e6c48e
children ae3b1331ce19
files xen/arch/x86/acpi/boot.c
line diff
     1.1 --- a/xen/arch/x86/acpi/boot.c	Wed Aug 08 17:28:13 2007 +0100
     1.2 +++ b/xen/arch/x86/acpi/boot.c	Wed Aug 08 17:50:24 2007 +0100
     1.3 @@ -423,7 +423,7 @@ acpi_fadt_parse_sleep_info(struct fadt_d
     1.4  		goto bad;
     1.5  
     1.6  	if (strncmp(facs->signature, "FACS", 4)) {
     1.7 -		printk(KERN_ERR PREFIX "Invalid FACS signature %s\n",
     1.8 +		printk(KERN_ERR PREFIX "Invalid FACS signature %.4s\n",
     1.9  			facs->signature);
    1.10  		goto bad;
    1.11  	}