diff --git a/src/basic/generate-errno-list.sh b/src/basic/generate-errno-list.sh index 86f89f8cee..6abf8c6942 100755 --- a/src/basic/generate-errno-list.sh +++ b/src/basic/generate-errno-list.sh @@ -3,12 +3,16 @@ set -eu set -o pipefail -# In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of -# ECANCELED and ECONNREFUSED, respectively. Let's drop them. +# In kernel's arch/parisc/include/uapi/asm/errno.h, The following aliases are defined: +# ECANCELLED → ECANCELED +# EREFUSED → ECONNREFUSED +# EFSBADCRC → EBADMSG +# EFSCORRUPTED → EUCLEAN +# Let's drop them. CC=${1:?} shift $CC -dM -include errno.h "$@" -