[PATCH v2 2/2] sysdeps: tst-bz21269: handle ENOSYS & skip appropriately

Sam James sam@gentoo.org
Thu Aug 17 08:31:13 GMT 2023


Andreas Schwab <schwab@suse.de> writes:

> ../sysdeps/unix/sysv/linux/i386/tst-bz21269.c: In function 'xmodify_ldt':
> ../sysdeps/unix/sysv/linux/i386/tst-bz21269.c:64:10: error: 'return' with a value, in function returning void [-Werror=return-type]
>    64 |   return 0;
>       |          ^
> ../sysdeps/unix/sysv/linux/i386/tst-bz21269.c:53:1: note: declared here
>    53 | xmodify_ldt (int func, const void *ptr, unsigned long bytecount)
>       | ^~~~~~~~~~~
> cc1: all warnings being treated as errors

Fixed, thanks.


More information about the Libc-alpha mailing list