|
@@ -86,8 +86,8 @@ void personInfoAction(Webs *wp)
|
|
|
|
|
|
/*获取设备信息*/
|
|
|
void getDeviceInfo(Webs *wp){
|
|
|
- char DeviceID[16] = {0};
|
|
|
- LIBIPMI_HL_GetDeviceID(&wp->ipmi_session, DeviceID, DEFAULT_TIMEOUT);
|
|
|
+ char DeviceID[50] = {0};
|
|
|
+ LIBIPMI_HL_GetDeviceID(&(wp->ipmi_session), DeviceID, DEFAULT_TIMEOUT);
|
|
|
printf("DeviceID: %s\n", DeviceID);
|
|
|
}
|
|
|
|