diff options
Diffstat (limited to 'Src/Modules/zpty.c')
-rw-r--r-- | Src/Modules/zpty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/Modules/zpty.c b/Src/Modules/zpty.c index 6c332b270..d115afcef 100644 --- a/Src/Modules/zpty.c +++ b/Src/Modules/zpty.c @@ -260,6 +260,9 @@ get_pty(int master, int *retfd) if (master) { strcpy(name, "/dev/ptyxx"); +#if defined(__BEOS__) || defined(__HAIKU__) + name[7] = '/'; +#endif for (p1 = char1; *p1; p1++) { name[8] = *p1; |