projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d920033
)
ptsname_r: Fix typo in last commit.
author
Bruno Haible
<bruno@clisp.org>
Sun, 24 Jun 2012 23:59:31 +0000
(
01:59
+0200)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 24 Jun 2012 23:59:31 +0000
(
01:59
+0200)
lib/ptsname_r.c
patch
|
blob
|
history
diff --git
a/lib/ptsname_r.c
b/lib/ptsname_r.c
index
1d0ba82
..
140a75b
100644
(file)
--- a/
lib/ptsname_r.c
+++ b/
lib/ptsname_r.c
@@
-138,7
+138,7
@@
__ptsname_r (int fd, char *buf, size_t buflen)
ret = ioctl (fd, ISPTM, NULL);
dev = ret;
# endif
- if (
dev
< 0)
+ if (
ret
< 0)
{
errno = ENOTTY;
return errno;