Add EHOSTDOWN.

This commit is contained in:
Jonas 'Sortie' Termansen 2022-12-04 22:10:36 +01:00
parent c3a3ff86ec
commit 006145d335
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2016, 2020 Jonas 'Sortie' Termansen.
* Copyright (c) 2011-2016, 2020-2022 Jonas 'Sortie' Termansen.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -108,6 +108,7 @@
#define ETXTBSY 98
#define ENOMOUNT 99
#define ENOMEDIUM 100
#define EHOSTDOWN 101
#define EOPNOTSUPP ENOTSUP
#define EWOULDBLOCK EAGAIN

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2012, 2013, 2014 Jonas 'Sortie' Termansen.
* Copyright (c) 2011-2016, 2020-2022 Jonas 'Sortie' Termansen.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -111,6 +111,7 @@ const char* sortix_strerror(int errnum)
case ETXTBSY: return "Text file busy";
case ENOMOUNT: return "No such mountpoint";
case ENOMEDIUM: return "No medium found";
case EHOSTDOWN: return "Host is down";
default: return "Unknown error condition";
}
}