git: 9f550134a4a4 - main - acpiconf: remove trailing space in "Mesurement Accuracy" output
Date: Tue, 23 Jan 2024 15:39:53 UTC
The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=9f550134a4a4c8319e79f0ae9f44c58d30f6c26f commit 9f550134a4a4c8319e79f0ae9f44c58d30f6c26f Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2024-01-23 15:39:40 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2024-01-23 15:39:40 +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 --- 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",