OSDN Git Service

test/dlopen: Match the function name that libtest actually sets
authorAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:02:43 +0000 (17:02 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 30 Nov 2009 01:22:42 +0000 (17:22 -0800)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
test/dlopen/dltest.c

index 6bec6e0..b5fa1cd 100644 (file)
@@ -25,7 +25,7 @@ int main(int argc, char **argv)
        }
 
        mydltest(&value1, &value2);
-       printf("dltest: __pthread_once=%p\n", value1);
+       printf("dltest: pthread_once=%p\n", value1);
        printf("dltest: pthread_self=%p\n", value2);
        if (value1 == value2) {
            ret = EXIT_FAILURE;