Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: fusl/src/network/accept4.c

Issue 1730723002: [fusl] Remove socketcall abstraction (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/network/accept.c ('k') | fusl/src/network/bind.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/network/accept4.c
diff --git a/fusl/src/network/accept4.c b/fusl/src/network/accept4.c
index 11f627c7b902684b85554da43a6f16a7581516a7..ce29e84ecf4f2fb1046388323985cfd520440400 100644
--- a/fusl/src/network/accept4.c
+++ b/fusl/src/network/accept4.c
@@ -11,7 +11,7 @@ int accept4(int fd,
int flg) {
if (!flg)
return accept(fd, addr, len);
- int ret = socketcall_cp(accept4, fd, addr, len, flg, 0, 0);
+ int ret = syscall_cp(SYS_accept4, fd, addr, len, flg, 0, 0);
if (ret >= 0 || (errno != ENOSYS && errno != EINVAL))
return ret;
ret = accept(fd, addr, len);
« no previous file with comments | « fusl/src/network/accept.c ('k') | fusl/src/network/bind.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698