Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default value parameter to read_sysfs (#327)
### Issue #326 ### Description For some reason, a kernel I booted on a RISC-V dev board didn't have the `numa_node` entry in sysfs -- this commit fixes the assumption that this file will always exist. ### List of the changes Adds function for reading from sysfs with a default return value if the read fails. ### Testing Manual ### API Changes There are no API changes in this PR.
- Loading branch information