mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
PR: ports/147287 Submitted by: Alex Deiter <alex.deiter AT gmail.com> (maintainer) Obtained from: OpenIPMI CVS Repositories
11 lines
377 B
C
11 lines
377 B
C
--- lib/sensor.c.orig 2010-05-28 18:51:20.949496519 +0400
|
|
+++ lib/sensor.c 2010-05-28 18:51:37.079705617 +0400
|
|
@@ -1438,7 +1438,7 @@
|
|
s[p]->id_type = IPMI_ASCII_STR;
|
|
}
|
|
|
|
- if (share_count) {
|
|
+ if (share_count > 1) {
|
|
/* Duplicate the sensor records for each instance. Go
|
|
backwards to avoid destroying the first one until we
|
|
finish the others. */
|