changeset 268 | 6518166b581c |
267:f7eb7d0199e2 | 268:6518166b581c |
---|---|
1 --- ipmitool-1.8.10/lib/ipmi_sdr.c.orig Fri Nov 21 13:00:00 2008 |
|
2 +++ ipmitool-1.8.10/lib/ipmi_sdr.c Fri Nov 21 13:01:00 2008 |
|
3 @@ -1760,7 +1760,8 @@ |
|
4 printf("ns | %2d.%1d | ", |
|
5 sensor->entity.id, |
|
6 sensor->entity.instance); |
|
7 - if (IS_SCANNING_DISABLED(rsp->data[1])) |
|
8 + if ((rsp != NULL) && |
|
9 + IS_SCANNING_DISABLED(rsp->data[1])) |
|
10 printf("Disabled"); |
|
11 else |
|
12 printf("No Reading"); |