[Phpsysinfo-subversion] SF.net SVN: phpsysinfo:[560] trunk/includes/os/class.BSDCommon.inc.php
Brought to you by:
namiltd
From: <na...@us...> - 2012-04-03 15:25:14
|
Revision: 560 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=560&view=rev Author: namiltd Date: 2012-04-03 15:25:05 +0000 (Tue, 03 Apr 2012) Log Message: ----------- Modified Paths: -------------- trunk/includes/os/class.BSDCommon.inc.php Modified: trunk/includes/os/class.BSDCommon.inc.php =================================================================== --- trunk/includes/os/class.BSDCommon.inc.php 2012-04-03 15:22:39 UTC (rev 559) +++ trunk/includes/os/class.BSDCommon.inc.php 2012-04-03 15:25:05 UTC (rev 560) @@ -465,7 +465,7 @@ foreach ($this->readdmesg() as $line) { // if (preg_match('/^(ugen[0-9\.]+): <(.*)> (.*) (.*)/', $line, $ar_buf)) { // $dev->setName($ar_buf[1].": ".$ar_buf[2]); - if (preg_match('/^(u[a-z]+[0-9]+): <([^,]*)(.*)> on usbus([0-9]+)/', $line, $ar_buf)) { + if (preg_match('/^(u[a-z]+[0-9]+): <([^,]*)(.*)> on (usbus[0-9]+)/', $line, $ar_buf)) { $dev = new HWDevice(); $dev->setName($ar_buf[2]); $this->sys->setUSBDevices($dev); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |