ide: remove undefined behavior in ide-test
commit6048018ef6112476b529807ad603015314151bb2
authorJohn Snow <jsnow@redhat.com>
Wed, 8 Feb 2017 17:05:33 +0000 (8 12:05 -0500)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 28 Feb 2017 06:03:38 +0000 (28 09:03 +0300)
treea712ba281e4a994ea4ad2b746d97541b18a14e8c
parent25ac5bbec43973e9b97a454e55fd307ef9db1320
ide: remove undefined behavior in ide-test

trivial: initialize the dirty buffer with a random-ish byte.
Stops valgrind from whining about uninitialized buffers.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/ide-test.c