Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/acpitools/acpidump Add missing newline.



details:   https://anonhg.NetBSD.org/src/rev/18e32a9768d8
branches:  trunk
changeset: 448809:18e32a9768d8
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sat Feb 09 16:00:41 2019 +0000

description:
Add missing newline.

diffstat:

 usr.sbin/acpitools/acpidump/acpi.c |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r 8d4c815980da -r 18e32a9768d8 usr.sbin/acpitools/acpidump/acpi.c
--- a/usr.sbin/acpitools/acpidump/acpi.c        Sat Feb 09 11:30:13 2019 +0000
+++ b/usr.sbin/acpitools/acpidump/acpi.c        Sat Feb 09 16:00:41 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.43 2018/12/30 05:05:21 msaitoh Exp $ */
+/* $NetBSD: acpi.c,v 1.44 2019/02/09 16:00:41 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1998 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: acpi.c,v 1.43 2018/12/30 05:05:21 msaitoh Exp $");
+__RCSID("$NetBSD: acpi.c,v 1.44 2019/02/09 16:00:41 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/endian.h>
@@ -717,7 +717,7 @@
 
        printf("\tError Status Address");
        acpi_print_gas(&data->ReadAckRegister);
-       printf("\tRead Ack Preserve=0x%016jx\n",
+       printf("\n\tRead Ack Preserve=0x%016jx\n",
            (uintmax_t)data->ReadAckPreserve);
        printf("\tRead Ack Write=0x%016jx\n",
            (uintmax_t)data->ReadAckWrite);
@@ -2050,7 +2050,7 @@
        printf("\tHPET Number=%d\n", hpet->Sequence);
        printf("\tADDR=");
        acpi_print_gas(&hpet->Address);
-       printf("\tHW Rev=0x%x\n", hpet->Id & ACPI_HPET_ID_HARDWARE_REV_ID);
+       printf("\n\tHW Rev=0x%x\n", hpet->Id & ACPI_HPET_ID_HARDWARE_REV_ID);
        printf("\tComparators=%d\n", (hpet->Id & ACPI_HPET_ID_COMPARATORS) >>
            8);
        printf("\tCounter Size=%d\n", hpet->Id & ACPI_HPET_ID_COUNT_SIZE_CAP ?
@@ -2385,13 +2385,14 @@
 {
        printf("\tEntryTrigger=");
        acpi_print_gas(&nl->EntryTrigger);
-       printf("\tResidency=%u\n", nl->Residency);
+       printf("\n\tResidency=%u\n", nl->Residency);
        printf("\tLatency=%u\n", nl->Latency);
        if (nl->Header.Flags & ACPI_LPIT_NO_COUNTER)
                printf("\tResidencyCounter=Not Present");
        else {
                printf("\tResidencyCounter=");
                acpi_print_gas(&nl->ResidencyCounter);
+               printf("\n");
        }
        if (nl->CounterFrequency)
                printf("\tCounterFrequency=%ju\n", nl->CounterFrequency);
@@ -3818,8 +3819,9 @@
 
        printf("\tControl Register=");
        acpi_print_gas(&wdrt->ControlRegister);
-       printf("\tCount Register=");
+       printf("\n\tCount Register=");
        acpi_print_gas(&wdrt->CountRegister);
+       printf("\n");
        acpi_print_pci(wdrt->PciVendorId, wdrt->PciDeviceId,
            wdrt->PciSegment, wdrt->PciBus, wdrt->PciDevice, wdrt->PciFunction);
 



Home | Main Index | Thread Index | Old Index