summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ahci-test.c2
-rw-r--r--tests/hd-geo-test.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index e77fa3a25c..b1a59f21a7 100644
--- a/tests/ahci-test.c
+++ b/tests/ahci-test.c
@@ -1289,7 +1289,7 @@ static void ahci_test_identify(QPCIDevice *ahci, void *hba_base)
PX_WREG(i, AHCI_PX_IS, reg);
g_assert_cmphex(PX_RREG(i, AHCI_PX_IS), ==, 0);
- /* Wipe the FIS-Recieve Buffer */
+ /* Wipe the FIS-Receive Buffer */
fb = PX_RREG(i, AHCI_PX_FB);
g_assert_cmphex(fb, !=, 0);
qmemset(fb, 0x00, 0x100);
diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c
index 7cc8dfff16..00afc209e6 100644
--- a/tests/hd-geo-test.c
+++ b/tests/hd-geo-test.c
@@ -22,8 +22,6 @@
#include "qemu-common.h"
#include "libqtest.h"
-static const char test_image[] = "/tmp/qtest.XXXXXX";
-
static char *create_test_img(int secs)
{
char *template = strdup("/tmp/qtest.XXXXXX");