[PATCH v2 01/19] errno: include string for EOPNOTSUPP
Sascha Hauer
s.hauer at pengutronix.de
Wed Jul 31 22:57:19 PDT 2024
-EOPNOTSUPP is becoming more common in the barebox code, so include the
error string for it in the image.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
common/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/misc.c b/common/misc.c
index 7bc92c0f95..e6e993338c 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -59,6 +59,7 @@ const char *strerror(int errnum)
case EPROBE_DEFER : str = "Requested probe deferral"; break;
case ELOOP : str = "Too many symbolic links encountered"; break;
case ENODATA : str = "No data available"; break;
+ case EOPNOTSUPP : str = "Operation not supported"; break;
#if 0 /* These are probably not needed */
case ENOTBLK : str = "Block device required"; break;
case EFBIG : str = "File too large"; break;
--
2.39.2
More information about the barebox
mailing list