laanwj 718da302c7 util: Refactor SysErrorString logic
Deduplicate code and error checks by making sure `s` stays `nullptr`
in case of error. Return "Unknown error" instead of an empty string in
this case.
2022-04-28 10:24:06 +02:00
..
2022-02-21 14:32:53 +01:00
2022-04-28 10:24:06 +02:00
2022-04-05 13:30:06 +02:00
2022-04-16 13:15:14 +02:00