git: c191e1d018c7 - stable/14 - acpiconf: remove trailing space in "Mesurement Accuracy" output
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jan 2024 11:08:33 UTC
The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=c191e1d018c7e652d8c728d30071e669bde0631d commit c191e1d018c7e652d8c728d30071e669bde0631d Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2024-01-23 15:39:40 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2024-01-30 11:07:29 +0000 acpiconf: remove trailing space in "Mesurement Accuracy" output No functional change intended. MFC after: 1 week Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D43561 (cherry picked from commit 9f550134a4a4c8319e79f0ae9f44c58d30f6c26f) --- usr.sbin/acpi/acpiconf/acpiconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c index 44c39ca66368..4f5cb08325dc 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.c +++ b/usr.sbin/acpi/acpiconf/acpiconf.c @@ -131,7 +131,7 @@ acpi_battinfo(int num) if (ACPI_BIX_REV_MIN_CHECK(battio.bix.rev, ACPI_BIX_REV_0)) { if (battio.bix.cycles != ACPI_BATT_UNKNOWN) printf("Cycle Count:\t\t%d\n", battio.bix.cycles); - printf("Measurement Accuracy:\t%d %%\n", + printf("Measurement Accuracy:\t%d%%\n", battio.bix.accuracy / 1000); if (battio.bix.stmax != ACPI_BATT_UNKNOWN) printf("Max Sampling Time:\t%d ms\n",