Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc/system: fix read always returning 0
Since all the proc_system read functions use the return value of snprintf, none of them actually return 0 on success. Fix the wrong success detection by considering anything >= 0 a success. FIXES: b01eccc
- Loading branch information