提交 6fa13c17 编写于 作者: T ths

Correct errno return for setsockopt(), by Thayne Harbaugh.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3839 c046a42c-6fe2-441c-8c8c-71466251a162
上级 c02f499e
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册