X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1eeed1150149b63d6e49e033697454bc12b533b9..HEAD:/lunaix-os/hal/term/console.c diff --git a/lunaix-os/hal/term/console.c b/lunaix-os/hal/term/console.c index 1c2a2cf..ea479a3 100644 --- a/lunaix-os/hal/term/console.c +++ b/lunaix-os/hal/term/console.c @@ -35,7 +35,7 @@ setup_default_tty() assert(device_addalias(NULL, dev_meta(dev), "tty")); - if (!device_get_capability(dev, TERMIOS_CAP)) { + if (!device_get_potens(dev, potens(TERMPORT))) { FATAL("not a terminal device: %s", console_dev); }