tests/hd-geo-test: Don't pass NULL to unlink()
commit0813cbf913b04c856bffa87aa005423082325ac1
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Aug 2016 10:03:12 +0000 (5 11:03 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 8 Sep 2016 09:43:58 +0000 (8 10:43 +0100)
treefa7979007b12ecbcfc37a0fd88df624151497a26
parent7faae0b36e51ffdb17d4716ddc40dcfa682d93d9
tests/hd-geo-test: Don't pass NULL to unlink()

The unlink() function doesn't accept a NULL pointer, so
don't pass it one. Spotted by the clang sanitizer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1470391392-28274-1-git-send-email-peter.maydell@linaro.org
tests/hd-geo-test.c