Commit bade11c
Fix bfdump doesn't return error code in case of success
When bfdump succeeds, the return value is 8. It's the result
value of write sizeof(uint64_t). This fix sets the return value
to 0 after the write is successful.
Signed-off-by: Dong Zhou <[email protected]>1 parent 41c2b5f commit bade11c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
0 commit comments