mirror of
https://github.com/duguosheng/6.S081-All-in-one.git
synced 2026-05-05 15:53:05 +08:00
Merge pull request #16 from 1278132270/fix_symbol_error
修改1.2节示例代码的符号错误
This commit is contained in:
@@ -17,7 +17,7 @@ for (;;) {
|
||||
n = read(0, buf, sizeof buf);
|
||||
if (n == 0)
|
||||
break;
|
||||
if (n < 0) {
|
||||
if (n < 0) {
|
||||
fprintf(2, "read error\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user