projects
/
platform
/
upstream
/
linaro-glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update.
[platform/upstream/linaro-glibc.git]
/
sysdeps
/
unix
/
sysv
/
linux
/
ptsname.c
diff --git
a/sysdeps/unix/sysv/linux/ptsname.c
b/sysdeps/unix/sysv/linux/ptsname.c
index
c81f235
..
2db8f8d
100644
(file)
--- a/
sysdeps/unix/sysv/linux/ptsname.c
+++ b/
sysdeps/unix/sysv/linux/ptsname.c
@@
-101,7
+101,7
@@
__ptsname_r (fd, buf, buflen)
idbuf[5] = '\0';
__stpcpy (__stpcpy (nbuf, "/dev/pts/"),
- _itoa_word (ptyno, &idbuf[
4
], 10, 0));
+ _itoa_word (ptyno, &idbuf[
5
], 10, 0));
if (__xstat (_STAT_VER, nbuf, &st) < 0)
{
if (errno != ENOENT)