summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-03-15 20:33:51 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-17 08:23:05 +0100
commit12728df9471265db38ca3a9bf597d11870568afd (patch)
treea3d95f3aa5e48e6a4154349c49b51d69140341e4 /common
parentce20b192f13d4f9ec051b2a84d9984542adf04dc (diff)
downloadbarebox-12728df9471265db38ca3a9bf597d11870568afd.tar.gz
common: Add EPROBE_DEFER to strerror
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/misc.c b/common/misc.c
index 8b2417b..f0f0b80 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -65,6 +65,7 @@ const char *strerror(int errnum)
case ENETUNREACH : str = "Network is unreachable"; break;
case ENETDOWN : str = "Network is down"; break;
case ETIMEDOUT : str = "Connection timed out"; break;
+ case EPROBE_DEFER : str = "Requested probe deferral"; break;
#if 0 /* These are probably not needed */
case ENOTBLK : str = "Block device required"; break;
case EFBIG : str = "File too large"; break;