aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/ds1338-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/ds1338-test.c')
-rw-r--r--tests/qtest/ds1338-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/ds1338-test.c b/tests/qtest/ds1338-test.c
index f6ade9a050..d12424d27f 100644
--- a/tests/qtest/ds1338-test.c
+++ b/tests/qtest/ds1338-test.c
@@ -38,7 +38,7 @@ static void send_and_receive(void *obj, void *data, QGuestAllocator *alloc)
i2c_read_block(i2cdev, 0, resp, sizeof(resp));
- /* check retrieved time againt local time */
+ /* check retrieved time against local time */
g_assert_cmpuint(bcd2bin(resp[4]), == , tm_ptr->tm_mday);
g_assert_cmpuint(bcd2bin(resp[5]), == , 1 + tm_ptr->tm_mon);
g_assert_cmpuint(2000 + bcd2bin(resp[6]), == , 1900 + tm_ptr->tm_year);