]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/rtc-test.c
vmstate: check subsection_found is enough
[mirror_qemu.git] / tests / rtc-test.c
index d7a96cbd79fdae0f79f49026327dc98a36c4d8ea..509be707e3471cc1662e62ca613ed2b2a50e256e 100644 (file)
@@ -165,9 +165,9 @@ static void check_time(int wiggle)
         t = (long)mktime(datep);
         s = (long)mktime(&start);
         if (t < s) {
-            g_test_message("RTC is %ld second(s) behind wall-clock\n", (s - t));
+            g_test_message("RTC is %ld second(s) behind wall-clock", (s - t));
         } else {
-            g_test_message("RTC is %ld second(s) ahead of wall-clock\n", (t - s));
+            g_test_message("RTC is %ld second(s) ahead of wall-clock", (t - s));
         }
 
         g_assert_cmpint(ABS(t - s), <=, wiggle);