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
@ -298,7 +298,7 @@ TermParse::EscParse(void *data)
|
||||
}
|
||||
parsestate = groundtable;
|
||||
now_coding = gNowCoding;
|
||||
}
|
||||
}
|
||||
|
||||
switch (parsestate[c]) {
|
||||
case CASE_PRINT:
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user