Skip to content

Conversation

@illiav-j
Copy link

Fixes the error when trying to build on the latest OpenBMC:

| …/src/cpu_info.cpp: In member function 'bool CpuInfo::getNumberOfCpu()':
| …/src/cpu_info.cpp:530:14: error: ordered comparison of pointer with integer zero ('FILE*' and 'int')
|   530 |        if(pf > 0)
|       |           ~~~^~~

This change has not been tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant