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:
Jérôme Duval 2006-03-11 16:02:43 +00:00
parent 067407432e
commit bd0a76ccc4
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ TermParse::EscParse(void *data)
}
parsestate = groundtable;
now_coding = gNowCoding;
}
}
switch (parsestate[c]) {
case CASE_PRINT:

View File

@ -176,7 +176,7 @@ spawn_shell(int row, int col, const char *command, const char *coding)
break;
} else {
// 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));
}
}