Commit 8ce4858dd765a7212d016fecdb66b74b45a7451f

Authored by Jeff Buchbinder
Committed by GitHub
2 parents 58963d31 e3de62f0

Merge pull request #30 from stappersg/less_generic_error_code_ENOBUFS

Allow tty0tty_write_room() to return ENOBUFS
Showing 1 changed file with 1 additions and 1 deletions
module/tty0tty.c
... ... @@ -261,7 +261,7 @@ exit:
261 261 static unsigned int tty0tty_write_room(struct tty_struct *tty)
262 262 {
263 263 struct tty0tty_serial *tty0tty = tty->driver_data;
264   - int room = -EINVAL;
  264 + int room = -ENOBUFS;
265 265  
266 266 if (!tty0tty)
267 267 return -ENODEV;
... ...