diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-01-28 22:17:27 +0000 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-02-07 20:38:20 +0000 |
commit | f71407ed2fe7a66aa52b1c49a0ebba311d887376 (patch) | |
tree | 773b3edfd1535f2e1ebd414292a9cb153b69f4e0 /block | |
parent | 5b19cb63d9dfda41b412373b8c9fe14641bcab60 (diff) | |
download | qemu-f71407ed2fe7a66aa52b1c49a0ebba311d887376.zip qemu-f71407ed2fe7a66aa52b1c49a0ebba311d887376.tar.gz qemu-f71407ed2fe7a66aa52b1c49a0ebba311d887376.tar.bz2 |
utils/fifo8: change fatal errors from abort() to assert()
Developer errors are better represented with assert() rather than abort(). Also
improve the strictness of the checks by using range checks within the assert()
rather than converting the existing equality checks to inequality checks.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210121102518.20112-1-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions