1
From: <benoit.mortier@opensides.be>
2
Subject: fix char * problem
5
--- ibutils-1.2-OFED-1.4.2.orig/ibdm/ibdm/SysDef.cpp
6
+++ ibutils-1.2-OFED-1.4.2/ibdm/ibdm/SysDef.cpp
9
// the device number should be embedded in the master name of
10
// the node: MT23108 ...
12
+ const char *p_digit;
13
if ((p_digit = strpbrk(p_inst->master.c_str(), "0123456789")) != NULL)
14
sscanf(p_digit,"%u", &p_node->devId);