pkgsrc/net/ocsinventory-agent/patches/patch-ap
bouyer 6ce2c608b2 Update to 1.1.2.1. Main motivation is to avoid warnings with perl 5.12.
Other changes are mainly improvements in backend to support more OS,
more OS variants or versions.
2010-12-01 21:00:51 +00:00

13 lines
665 B
Text

$NetBSD: patch-ap,v 1.1 2010/12/01 21:00:51 bouyer Exp $
--- lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm.orig 2010-12-01 18:31:01.000000000 +0100
+++ lib/Ocsinventory/Agent/Backend/OS/Linux/Storages/3ware.pm 2010-12-01 18:31:06.000000000 +0100
@@ -117,7 +117,7 @@
# How does this work with multiple older cards where serial for units is not implemented ?
# Need to be tested on a system with multiple 3ware cards.
if (($hd->{SERIALNUMBER} eq 'AMCC_' . $sn) or ($hd->{MODEL} eq 'Logical_Disk_' . $unit_id)) {
- $device = %$hd->{NAME};
+ $device = $hd->{NAME};
}
}