This patch fixes a core dump problem if debugging is on and
umad_register() fails.

Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]>

Index: src/userspace/management/libibumad/src/umad.c
===================================================================
--- src/userspace/management/libibumad/src/umad.c       (revision 6885)
+++ src/userspace/management/libibumad/src/umad.c       (working copy)
@@ -888,7 +888,7 @@
                return req.id;          /* return agentid */
        }
        
-       DEBUG("portid %d registering qp %d class %s version %d oui 0x%x failed: 
%m",
+       DEBUG("portid %d registering qp %d class 0x%x version %d oui 0x%x 
failed: %m",
                portid, req.qpn, req.mgmt_class, req.mgmt_class_version, oui);
        return -EPERM;  
 }


-- 
Ralph Campbell <[EMAIL PROTECTED]>

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to