projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ded47
)
util: add one more disconnect errno code
author
Lennart Poettering
<lennart@poettering.net>
Tue, 19 Mar 2019 14:39:07 +0000
(15:39 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 19 Mar 2019 14:39:07 +0000
(15:39 +0100)
src/basic/errno-util.h
patch
|
blob
|
history
diff --git
a/src/basic/errno-util.h
b/src/basic/errno-util.h
index
067b4fa
..
615b6a8
100644
(file)
--- a/
src/basic/errno-util.h
+++ b/
src/basic/errno-util.h
@@
-35,7
+35,8
@@
static inline int negative_errno(void) {
#define ERRNO_IS_DISCONNECT(r) \
IN_SET(abs(r), \
ENOTCONN, ECONNRESET, ECONNREFUSED, ECONNABORTED, EPIPE, \
- ENETUNREACH, EHOSTUNREACH, ENOPROTOOPT, EHOSTDOWN, ENONET)
+ ENETUNREACH, EHOSTUNREACH, ENOPROTOOPT, EHOSTDOWN, \
+ ENONET, ESHUTDOWN)
/* Resource exhaustion, could be our fault or general system trouble */
#define ERRNO_IS_RESOURCE(r) \