@@ -142,9 +142,9 @@ // replacement for the other, tho the creation // function syntax is a bit different. if(fork()) goto master; - else goto child; + else goto slave; master: { close(wr); char buf[256]; size_t sz; @@ -166,9 +166,9 @@ close(rd); return 0; } - child: { + slave: { close(rd); // redirect stdout (NOT stderr) to our pty master dup2(wr, 1);