]> sigrok.org Git - libsigrok.git/blobdiff - tests/strutil.c
kingst-la2016: fix segfault that often occurs when a capture is aborted
[libsigrok.git] / tests / strutil.c
index fca70eaaee36ef270d6725376391add9715197a2..ec2233329b769c5eecc9597bdeb6d8e7564f4694 100644 (file)
@@ -154,7 +154,7 @@ START_TEST(test_locale)
        fprintf(stderr, "Old locale = %s\n", old_locale);
        /* Copy the name so it won’t be clobbered by setlocale. */
        saved_locale = g_strdup(old_locale);
-       ck_assert_msg(saved_locale != NULL);
+       ck_assert(saved_locale != NULL);
 
 #ifdef _WIN32
        /*