infra: fix wrong error code ENOSYS

This commit is contained in:
Thomas Schoebel-Theuer 2015-09-30 12:40:09 +02:00
parent 96bbb42771
commit 66d200dbf1
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ struct generic_output {
(void)LOCK_CHECK(OP), \
(OUTPUT) && (OUTPUT)->ops->OP ? \
(OUTPUT)->ops->OP(OUTPUT, ##ARGS) : \
-ENOSYS \
-ENOTCONN \
)
#define GENERIC_INPUT_CALL(INPUT,OP,ARGS...) \