external/ppp
Revisão | c0527a2884391e611fac83133c453e27b34cce8f (tree) |
---|---|
Hora | 2010-07-16 23:24:37 |
Autor | Jean-Baptiste Queru <jbq@goog...> |
Commiter | Android Code Review |
Merge "Added proper handling of pty-names for pipe usage."
@@ -2561,7 +2561,7 @@ get_pty(master_fdp, slave_fdp, slave_name, uid) | ||
2561 | 2561 | if (mfd >= 0) { |
2562 | 2562 | int ptn; |
2563 | 2563 | if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) { |
2564 | - slprintf(pty_name, sizeof(pty_name), "/dev.pts/%d", ptn); | |
2564 | + slprintf(pty_name, sizeof(pty_name), "/dev/pts/%d", ptn); | |
2565 | 2565 | chmod(pty_name, S_IRUSR | S_IWUSR); |
2566 | 2566 | #ifdef TIOCSPTLCK |
2567 | 2567 | ptn = 0; |