diff options
author | rsc <devnull@localhost> | 2004-04-24 05:22:42 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-24 05:22:42 +0000 |
commit | 97dafe411ab1f501cea5f1d4a14dbc9be549a767 (patch) | |
tree | 1d051afa8ce1fb945dddc86dc7ca625fb119cd1e /src/cmd/p.c | |
parent | a463d2a6687ff22cbb49f94f365bb6bc752536a7 (diff) | |
download | plan9port-97dafe411ab1f501cea5f1d4a14dbc9be549a767.tar.gz plan9port-97dafe411ab1f501cea5f1d4a14dbc9be549a767.tar.bz2 plan9port-97dafe411ab1f501cea5f1d4a14dbc9be549a767.zip |
use tty
Diffstat (limited to 'src/cmd/p.c')
-rw-r--r-- | src/cmd/p.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/p.c b/src/cmd/p.c index 63a9db3f..ba63dad8 100644 --- a/src/cmd/p.c +++ b/src/cmd/p.c @@ -17,9 +17,9 @@ main(int argc, char *argv[]) int n; int f; - if((cons = Bopen("/dev/cons", OREAD)) == 0) { - fprint(2, "p: can't open /dev/cons\n"); - exits("missing /dev/cons"); + if((cons = Bopen("/dev/tty", OREAD)) == 0) { + fprint(2, "p: can't open /dev/tty\n"); + exits("missing /dev/tty"); } Binit(&bout, 1, OWRITE); n = 0; |