From d6c5005c05da3fdd0638486227d7989069e5856c Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Tue, 15 Apr 2003 05:15:50 +0000 Subject: [PATCH] Fix a warning about deprecated string literals. Reviewed by: diff --- usr.sbin/acpi/acpidump/acpi.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c index 9aaa4f5cd8e2..97df1725392b 100644 --- a/usr.sbin/acpi/acpidump/acpi.c +++ b/usr.sbin/acpi/acpidump/acpi.c @@ -71,14 +71,14 @@ acpi_print_dsdt_definition(void) strncpy(oemtblid, dsdt_header.oemtblid, 8); oemtblid[8] = '\0'; - printf("DefinitionBlock ( - \"acpi_dsdt.aml\", //Output filename - \"DSDT\", //Signature - 0x%x, //DSDT Revision - \"%s\", //OEMID - \"%s\", //TABLE ID - 0x%x //OEM Revision\n)\n", - dsdt_header.rev, oemid, oemtblid, dsdt_header.oemrev); + printf("DefinitionBlock (\n" + " \"acpi_dsdt.aml\", //Output filename\n" + " \"DSDT\", //Signature\n" + " 0x%x, //DSDT Revision\n" + " \"%s\", //OEMID\n" + " \"%s\", //TABLE ID\n" + " 0x%x //OEM Revision\n)\n", + dsdt_header.rev, oemid, oemtblid, dsdt_header.oemrev); } static void