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

Unified Diff: fusl/src/network/listen.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/getsockopt.c ('k') | fusl/src/network/recvfrom.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/network/listen.c
diff --git a/fusl/src/network/listen.c b/fusl/src/network/listen.c
index f26d2d43eae591f2e989f913bad3658cf398593a..dfd06a703228284207ee2f8fb1cb6ccc223837de 100644
--- a/fusl/src/network/listen.c
+++ b/fusl/src/network/listen.c
@@ -2,5 +2,5 @@
#include "syscall.h"
int listen(int fd, int backlog) {
- return socketcall(listen, fd, backlog, 0, 0, 0, 0);
+ return syscall(SYS_listen, fd, backlog, 0, 0, 0, 0);
}
« no previous file with comments | « fusl/src/network/getsockopt.c ('k') | fusl/src/network/recvfrom.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698