mirror of https://github.com/schoebel/mars
infra: fix wrong error code ENOSYS
This commit is contained in:
parent
96bbb42771
commit
66d200dbf1
|
@ -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...) \
|
||||
|
|
Loading…
Reference in New Issue