mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
pthread implementations generally return errors as a positive non-zero value. Our kernel generally returns errors as negative values. If we receive a negative value from a system call, turn it into a positive return value to relay the error appropriately. Also, fix the tt test utility to not rely on errno, as the pthread library does not use errno.