summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-02-22 05:59:23 +0000
committernjl <njl@FreeBSD.org>2007-02-22 05:59:23 +0000
commita9d90540f47ebe7ae8313f0ed9140c085b63483a (patch)
treecca431cc43fe66b47b8b2faf5bdbf09e5d471865 /sys/dev
parentd047a6100ef837de06547b005c579d03d2faa47b (diff)
downloadFreeBSD-src-a9d90540f47ebe7ae8313f0ed9140c085b63483a.zip
FreeBSD-src-a9d90540f47ebe7ae8313f0ed9140c085b63483a.tar.gz
Improve readability of the version string.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 8b3fde0..3c19ef5 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -347,7 +347,7 @@ acpi_identify(driver_t *driver, device_t parent)
if (ACPI_FAILURE(acpi_Startup()))
return_VOID;
- snprintf(acpi_ca_version, sizeof(acpi_ca_version), "%#x", ACPI_CA_VERSION);
+ snprintf(acpi_ca_version, sizeof(acpi_ca_version), "%x", ACPI_CA_VERSION);
/* Attach the actual ACPI device. */
if ((child = BUS_ADD_CHILD(parent, 0, "acpi", 0)) == NULL) {
OpenPOWER on IntegriCloud