diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-02-10 21:56:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-02-10 21:56:11 +0000 |
commit | fb06ed88b5810f53d16a2f3f90904ed7ea4de07a (patch) | |
tree | 0ad268ca945306e22e87692f6bb02fcd1220d0e4 /sys/dev/ksyms.c | |
parent | 4ed4205fc6bdb404dcf67f9f19347eea957f5982 (diff) |
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/dev/ksyms.c')
-rw-r--r-- | sys/dev/ksyms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ksyms.c b/sys/dev/ksyms.c index 5f877a17252..d608564f803 100644 --- a/sys/dev/ksyms.c +++ b/sys/dev/ksyms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ksyms.c,v 1.26 2014/12/22 02:55:48 deraadt Exp $ */ +/* $OpenBSD: ksyms.c,v 1.27 2015/02/10 21:56:09 miod Exp $ */ /* * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com> * Copyright (c) 2001 Artur Grabowski <art@openbsd.org> @@ -171,7 +171,7 @@ ksymsread(dev_t dev, struct uio *uio, int flags) if (len > uio->uio_resid) len = uio->uio_resid; - if ((error = uiomove(v, len, uio)) != 0) + if ((error = uiomovei(v, len, uio)) != 0) return (error); } |