X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/1eeed1150149b63d6e49e033697454bc12b533b9..aa67abb537f22db097db632d98212fa951bfeef0:/lunaix-os/hal/char/lxconsole.c diff --git a/lunaix-os/hal/char/lxconsole.c b/lunaix-os/hal/char/lxconsole.c index 53d01bb..6387670 100644 --- a/lunaix-os/hal/char/lxconsole.c +++ b/lunaix-os/hal/char/lxconsole.c @@ -99,13 +99,13 @@ done: int __tty_write_pg(struct device* dev, void* buf, size_t offset) { - return __tty_write(dev, buf, offset, PG_SIZE); + return __tty_write(dev, buf, offset, PAGE_SIZE); } int __tty_read_pg(struct device* dev, void* buf, size_t offset) { - return __tty_read(dev, buf, offset, PG_SIZE); + return __tty_read(dev, buf, offset, PAGE_SIZE); } int