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

Unified Diff: fusl/src/network/getpeername.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/connect.c ('k') | fusl/src/network/getsockname.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/network/getpeername.c
diff --git a/fusl/src/network/getpeername.c b/fusl/src/network/getpeername.c
index 82cb017673d4decb7bed528faa3123874774bfac..8e8390be1deebeaf6c34f5a392624b4a0b6f1b8a 100644
--- a/fusl/src/network/getpeername.c
+++ b/fusl/src/network/getpeername.c
@@ -4,5 +4,5 @@
int getpeername(int fd,
struct sockaddr* restrict addr,
socklen_t* restrict len) {
- return socketcall(getpeername, fd, addr, len, 0, 0, 0);
+ return syscall(SYS_getpeername, fd, addr, len, 0, 0, 0);
}
« no previous file with comments | « fusl/src/network/connect.c ('k') | fusl/src/network/getsockname.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698