Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kobj_read_file: Fix uninitialized value on vn_rdwr() error
LLVM's static analyzer showed that we could subtract using an uninitialized value on an error from vn_rdwr(). The correct behavior is to return -1 on an error, so lets do that instead. Signed-off-by: Richard Yao <[email protected]>
- Loading branch information