diff options
Diffstat (limited to 'drivers/tty/ttynull.c')
-rw-r--r-- | drivers/tty/ttynull.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/ttynull.c b/drivers/tty/ttynull.c index 1d4438472442..e4c4273993bc 100644 --- a/drivers/tty/ttynull.c +++ b/drivers/tty/ttynull.c @@ -29,8 +29,8 @@ static void ttynull_hangup(struct tty_struct *tty) tty_port_hangup(&ttynull_port); } -static int ttynull_write(struct tty_struct *tty, const unsigned char *buf, - int count) +static ssize_t ttynull_write(struct tty_struct *tty, const u8 *buf, + size_t count) { return count; } |