diff options
| author | Benjamin Berg <benjamin.berg@intel.com> | 2025-09-24 16:20:50 +0200 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-10-29 16:29:13 +0100 |
| commit | c485ca3aff2442adea4c08ceb5183e671ebed22a (patch) | |
| tree | d13e10c5de10d7905880aa377a83e7079207cdd4 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | 089c0a9853ae6b297adf6e2f3b94e4f75dc1f97f (diff) | |
tools/nolibc/stdio: let perror work when NOLIBC_IGNORE_ERRNO is set
There is no errno variable when NOLIBC_IGNORE_ERRNO is defined. As such,
simply print the message with "unknown error" rather than the integer
value of errno.
Fixes: acab7bcdb1bc ("tools/nolibc/stdio: add perror() to report the errno value")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
