OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f1972
)
Bugfix from Atsushi Nemoto: return nonzero error code on failure
author
Rob Landley
<rob@landley.net>
Wed, 18 Apr 2007 16:26:16 +0000
(16:26 -0000)
committer
Rob Landley
<rob@landley.net>
Wed, 18 Apr 2007 16:26:16 +0000
(16:26 -0000)
(without which busybox ping segfaults on error). Broken during locking
changes in in svn 16801.
libc/inet/getproto.c
patch
|
blob
|
history
diff --git
a/libc/inet/getproto.c
b/libc/inet/getproto.c
index
7800eec
..
c1292ed
100644
(file)
--- 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)