OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libc: Avoid redundant setting of ENOMEM
[uclinux-h8/uClibc.git]
/
libc
/
stdlib
/
unix_grantpt.c
diff --git
a/libc/stdlib/unix_grantpt.c
b/libc/stdlib/unix_grantpt.c
index
5dbb7f5
..
66c18c0
100644
(file)
--- a/
libc/stdlib/unix_grantpt.c
+++ b/
libc/stdlib/unix_grantpt.c
@@
-68,7
+68,7
@@
pts_name (int fd, char **pts, size_t buf_len)
if (! new_buf)
{
rv = -1;
- errno = ENOMEM;
+ /* __set_errno(ENOMEM); */
break;
}
buf = new_buf;