infra: improve error code

This commit is contained in:
Thomas Schoebel-Theuer 2012-12-13 18:11:57 +01:00 committed by Thomas Schoebel-Theuer
parent e7ec75d497
commit 39925a154a
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ struct generic_output {
(void)LOCK_CHECK(OP), \
(INPUT) && (INPUT)->connect ? \
GENERIC_OUTPUT_CALL((INPUT)->connect, OP, ##ARGS) : \
-ECONNREFUSED \
-ENOTCONN \
)
#define GENERIC_BRICK_OPS(BRITYPE) \