aboutsummaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test.c b/tests/test.c
index 132ede6..1d0d437 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -342,7 +342,7 @@ int main()
342 *(void **) (&fwrite_local) = dlsym( global, "fwrite" ); 342 *(void **) (&fwrite_local) = dlsym( global, "fwrite" );
343 if (!fwrite_local) 343 if (!fwrite_local)
344 { 344 {
345 error = dlerror(); 345 error = dlerror( );
346 printf("ERROR\tCould not get symbol from global handle: %s\n", 346 printf("ERROR\tCould not get symbol from global handle: %s\n",
347 error ? error : ""); 347 error ? error : "");
348 CLOSE_LIB; 348 CLOSE_LIB;
@@ -360,7 +360,7 @@ int main()
360 *(void **) (&fputs_default) = dlsym( RTLD_DEFAULT, "fputs" ); 360 *(void **) (&fputs_default) = dlsym( RTLD_DEFAULT, "fputs" );
361 if (!fputs_default) 361 if (!fputs_default)
362 { 362 {
363 error = dlerror(); 363 error = dlerror( );
364 printf("ERROR\tCould not get symbol from default handle: %s\n", 364 printf("ERROR\tCould not get symbol from default handle: %s\n",
365 error ? error : ""); 365 error ? error : "");
366 CLOSE_LIB; 366 CLOSE_LIB;
@@ -623,7 +623,7 @@ int main()
623 *(void **) (&function) = dlsym( global, "fwrite" ); 623 *(void **) (&function) = dlsym( global, "fwrite" );
624 if (!function) 624 if (!function)
625 { 625 {
626 error = dlerror(); 626 error = dlerror( );
627 printf("ERROR\tCould not get symbol from global handle: %s\n", 627 printf("ERROR\tCould not get symbol from global handle: %s\n",
628 error ? error : ""); 628 error ? error : "");
629 CLOSE_LIB; 629 CLOSE_LIB;
@@ -659,7 +659,7 @@ int main()
659 *(void **) (&function) = dlsym( global, "function3" ); 659 *(void **) (&function) = dlsym( global, "function3" );
660 if (!function) 660 if (!function)
661 { 661 {
662 error = dlerror(); 662 error = dlerror( );
663 printf("ERROR\tCould not get symbol from global handle: %s\n", 663 printf("ERROR\tCould not get symbol from global handle: %s\n",
664 error ? error : ""); 664 error ? error : "");
665 CLOSE_LIB; 665 CLOSE_LIB;