From: Stan Shebs Date: Thu, 22 Jul 2021 20:00:52 +0000 (-0700) Subject: Fix a return type in elf unload test X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6db4535a70acdbf258b52bd6c79ce56e226b4015;p=thirdparty%2Fglibc.git Fix a return type in elf unload test --- diff --git a/elf/unload8mod1.c b/elf/unload8mod1.c index 42a4298b6ec..8df93a08598 100644 --- a/elf/unload8mod1.c +++ b/elf/unload8mod1.c @@ -8,7 +8,7 @@ mod1 (void) mod2 (); } -void +int mod1b (void) { void *h = dlopen ("$ORIGIN/unload8mod3.so", RTLD_LAZY); @@ -17,4 +17,5 @@ mod1b (void) puts ("dlopen unload8mod3.so failed"); return 1; } + return 0; }