[Pommed-commits] r333 - in trunk: . pommed

jblache at alioth.debian.org jblache at alioth.debian.org
Fri May 25 20:21:45 UTC 2007


Author: jblache
Date: 2007-05-25 20:21:45 +0000 (Fri, 25 May 2007)
New Revision: 333

Modified:
   trunk/ChangeLog
   trunk/pommed/pommed.c
Log:
Add new "Apple Inc." vendor ID.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-05-19 18:24:58 UTC (rev 332)
+++ trunk/ChangeLog	2007-05-25 20:21:45 UTC (rev 333)
@@ -2,6 +2,7 @@
 --------------------
 
 version 1.6:
+	- pommed: add new "Apple Inc." vendor ID in SMBIOS routine.
 
 version 1.5:
 	- pommed: back to using eject(1) for CD ejection.

Modified: trunk/pommed/pommed.c
===================================================================
--- trunk/pommed/pommed.c	2007-05-19 18:24:58 UTC (rev 332)
+++ trunk/pommed/pommed.c	2007-05-25 20:21:45 UTC (rev 333)
@@ -500,7 +500,8 @@
 
   logdebug("SMBIOS vendor name: [%s]\n", prop);
 
-  if (strcmp(prop, "Apple Computer, Inc.") == 0)
+  if ((strcmp(prop, "Apple Computer, Inc.") == 0)
+      || (strcmp(prop, "Apple Inc.") == 0))
     ret = MACHINE_MAC_UNKNOWN;
 
   SMBIOSFreeMemory(prop);




More information about the Pommed-commits mailing list