actually check errno instead of master
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16704 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
067407432e
commit
bd0a76ccc4
@ -176,7 +176,7 @@ spawn_shell(int row, int col, const char *command, const char *coding)
|
|||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
// B_BUSY is a normal case
|
// B_BUSY is a normal case
|
||||||
if (master != B_BUSY)
|
if (errno != B_BUSY)
|
||||||
fprintf(stderr, "could not open %s: %s\n", ptyName, strerror(errno));
|
fprintf(stderr, "could not open %s: %s\n", ptyName, strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user