Hello All,

Darix found a problem in snmp_bc plugin code that compiler is
complaining about. He has supplied a simple patch to fix the problem. I
went through the patch and it looks good. Since I do not know anything
about the snmp_bc plugin, sending it to all in the devel list to get the
feedback. Please do provide your feedback within a week.

The patch is attached and it is available at
http://paste.opensuse.org/35926636

Thanks
Mohan

Index: plugins/snmp_bc/snmp_bc_utils.c
===================================================================
--- plugins/snmp_bc/snmp_bc_utils.c.orig        2007-10-04 00:40:10.000000000 +0200
+++ plugins/snmp_bc/snmp_bc_utils.c     2014-07-21 17:36:43.971386421 +0200
@@ -314,7 +314,6 @@ SaErrorT snmp_bc_set_resource_add_oh_eve
        if (e->resource.ResourceCapabilities & SAHPI_CAPABILITY_FRU) {
                e->event.EventType = SAHPI_ET_HOTSWAP;
                e->event.EventDataUnion.HotSwapEvent.HotSwapState = 
-                       e->event.EventDataUnion.HotSwapEvent.HotSwapState = 
                                                res_info_ptr->cur_state;
 
        } else {
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to