Author: bcran
Date: Fri Nov 27 07:53:15 2020
New Revision: 368092
URL: https://svnweb.freebsd.org/changeset/base/368092

Log:
  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.

Modified:
  head/usr.sbin/bhyve/smbiostbl.c

Modified: head/usr.sbin/bhyve/smbiostbl.c
==============================================================================
--- head/usr.sbin/bhyve/smbiostbl.c     Fri Nov 27 05:13:52 2020        
(r368091)
+++ head/usr.sbin/bhyve/smbiostbl.c     Fri Nov 27 07:53:15 2020        
(r368092)
@@ -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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to