mirror of
https://github.com/schoebel/mars
synced 2025-02-03 13:51:45 +00:00
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
Block a user