Needed for printing a correct error message when symbolic link loops are encountered. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/misc.c b/common/misc.c index f0f0b808b7..c5d3704c82 100644 --- a/common/misc.c +++ b/common/misc.c @@ -66,6 +66,7 @@ const char *strerror(int errnum) case ENETDOWN : str = "Network is down"; break; case ETIMEDOUT : str = "Connection timed out"; break; case EPROBE_DEFER : str = "Requested probe deferral"; break; + case ELOOP : str = "Too many symbolic links encountered"; break; #if 0 /* These are probably not needed */ case ENOTBLK : str = "Block device required"; break; case EFBIG : str = "File too large"; break; -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox