Revision 3f9ac9b3
b/linux-user/syscall.c | ||
---|---|---|
1348 | 1348 |
ret = get_errno(getsockopt(sockfd, level, optname, &val, &lv)); |
1349 | 1349 |
if (ret < 0) |
1350 | 1350 |
return ret; |
1351 |
val = tswap32(val); |
|
1352 | 1351 |
if (len > lv) |
1353 | 1352 |
len = lv; |
1354 | 1353 |
if (len == 4) { |
Also available in: Unified diff