-From b01ad1d67883953d2f0f22b792a8613b8c31d28d Mon Sep 17 00:00:00 2001
+From fbb0ec5e3cc2f5b6d9cd023fd5cf7ae38b97ad6a Mon Sep 17 00:00:00 2001
From: Cameron Katri <me@cameronkatri.com>
Date: Thu, 20 May 2021 15:03:17 -0400
Subject: [PATCH] acpiconf(8): Add libxo(3) support
.Xr acpidump 8 ,
.Xr apm 8 ,
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c
-index 8a31657fb98..35c40ff1ab7 100644
+index 8a31657fb98..f4d5e06b0d3 100644
--- a/usr.sbin/acpi/acpiconf/acpiconf.c
+++ b/usr.sbin/acpi/acpiconf/acpiconf.c
@@ -37,6 +37,7 @@
- printf("Serial number:\t\t%s\n", battio.bix.serial);
- printf("Type:\t\t\t%s\n", battio.bix.type);
- printf("OEM info:\t\t%s\n", battio.bix.oeminfo);
-+ xo_emit("Low/warn granularity:{P:\t}{:granularity-lw/%d}{Uw:/%sh}\n",
++ xo_emit("{Lc:Low\\/warn granularity}{P:\t}{:granularity-lw/%d}{Uw:/%sh}\n",
+ battio.bix.gra1, pwr_units);
-+ xo_emit("Warn/full granularity:{P:\t}{:granularity-wf/%d}{Uw:/%sh}\n",
++ xo_emit("{Lc:Warn\\/full granularity}{P:\t}{:granularity-wf/%d}{Uw:/%sh}\n",
+ battio.bix.gra2, pwr_units);
+ xo_emit("{Lc:Model number}{P:\t\t}{:model}\n", battio.bix.model);
+ xo_emit("{Lc:Serial number}{P:\t\t}{:serial}\n", battio.bix.serial);