diff options
author | 2015-02-10 21:56:08 +0000 | |
---|---|---|
committer | 2015-02-10 21:56:08 +0000 | |
commit | 081bf72016fd7473d333d95c915b1e43ca17cbc2 (patch) | |
tree | b73603c37a30960dcf8c02fec717a11e3621e769 /sys/kern/tty.c | |
parent | In iwm(4), don't reinvent the standard rate set tables. (diff) | |
download | wireguard-openbsd-081bf72016fd7473d333d95c915b1e43ca17cbc2.tar.xz wireguard-openbsd-081bf72016fd7473d333d95c915b1e43ca17cbc2.zip |
First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 419f6e65d90..c0ec4f0e259 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.120 2015/01/13 10:07:58 mpf Exp $ */ +/* $OpenBSD: tty.c,v 1.121 2015/02/10 21:56:10 miod Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -1781,7 +1781,7 @@ loop: if (cc == 0) { cc = MIN(uio->uio_resid, OBUFSIZ); cp = obuf; - error = uiomove(cp, cc, uio); + error = uiomovei(cp, cc, uio); if (error) { cc = 0; break; |