summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/getproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index 7800eecb4..c1292ed30 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -195,7 +195,7 @@ again:
rv = 0;
DONE:
__UCLIBC_MUTEX_UNLOCK(mylock);
- return 0;
+ return rv;
}
libc_hidden_def(getprotoent_r)