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

Unified Diff: fusl/src/network/bind.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/accept4.c ('k') | fusl/src/network/connect.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/network/bind.c
diff --git a/fusl/src/network/bind.c b/fusl/src/network/bind.c
index 624bf13df39300254b879b885b1844acaf4ddc0c..17da0fdb3101e30f807a8a36fdf57f9d7f7839d9 100644
--- a/fusl/src/network/bind.c
+++ b/fusl/src/network/bind.c
@@ -2,5 +2,5 @@
#include "syscall.h"
int bind(int fd, const struct sockaddr* addr, socklen_t len) {
- return socketcall(bind, fd, addr, len, 0, 0, 0);
+ return syscall(SYS_bind, fd, addr, len, 0, 0, 0);
}
« no previous file with comments | « fusl/src/network/accept4.c ('k') | fusl/src/network/connect.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698