Commit efb4e74
committed
fs: bm_zms: correct error check for ring_buf_get()
ring_buf_get() returns the size retrieved and will never be negative.
Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>1 parent e33b6ca commit efb4e74
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments