diff options
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5159685e2b..d099e97daf 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -906,7 +906,7 @@ static abi_long do_setsockopt(int sockfd, int level, int optname, default: unimplemented: gemu_log("Unsupported setsockopt level=%d optname=%d \n", level, optname); - ret = -TARGET_ENOSYS; + ret = -TARGET_ENOPROTOOPT; } return ret; } |