Commit e2a5d92
probe-app: bail out if opening file fails
Do not blindly call fwrite without checking whether file open
succeeded or not.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 89039c6 commit e2a5d92
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
300 | 307 | | |
301 | 308 | | |
302 | 309 | | |
| |||
0 commit comments