From 5285d5e8e15c9b7b0e6fe38b90f36a749bbaf20e Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Fri, 27 Nov 2020 07:53:15 +0000 Subject: [PATCH] bhyve: fix smbiostbl.c style issues and add comment about date format Fix a couple of style issues introduced in my previous commit. Add a comment explaining that the SMBIOS specification defines the date format to be mm/dd/yyyy, which is why we don't use ISO 8601. --- usr.sbin/bhyve/smbiostbl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/smbiostbl.c b/usr.sbin/bhyve/smbiostbl.c index 4205da59492..fa06e72c8a9 100644 --- a/usr.sbin/bhyve/smbiostbl.c +++ b/usr.sbin/bhyve/smbiostbl.c @@ -51,8 +51,9 @@ __FBSDID("$FreeBSD$"); #define SMBIOS_BASE 0xF1000 -#define FIRMWARE_VERSION "13.0" -#define FIRMWARE_RELEASE_DATE "11/10/2020" +#define FIRMWARE_VERSION "13.0" +/* The SMBIOS specification defines the date format to be mm/dd/yyyy */ +#define FIRMWARE_RELEASE_DATE "11/10/2020" /* BHYVE_ACPI_BASE - SMBIOS_BASE) */ #define SMBIOS_MAX_LENGTH (0xF2400 - 0xF1000) -- 2.45.0