diff options
author | 2015-02-10 22:03:11 +0000 | |
---|---|---|
committer | 2015-02-10 22:03:11 +0000 | |
commit | b91cd13bb60b9dbade2d489ea43a444352c73242 (patch) | |
tree | 49846d7624889ee81336128e3d3ef86193dfe5ca /sys/dev/systrace.c | |
parent | Switch uiomovei(..., sizeof whatever, ...) to uiomove(). (diff) | |
download | wireguard-openbsd-b91cd13bb60b9dbade2d489ea43a444352c73242.tar.xz wireguard-openbsd-b91cd13bb60b9dbade2d489ea43a444352c73242.zip |
Another uiomovei(,sizeof,) -> uiomove
Diffstat (limited to 'sys/dev/systrace.c')
-rw-r--r-- | sys/dev/systrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/systrace.c b/sys/dev/systrace.c index 8ade505d8b5..baa7bc690d7 100644 --- a/sys/dev/systrace.c +++ b/sys/dev/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.73 2015/02/10 21:56:09 miod Exp $ */ +/* $OpenBSD: systrace.c,v 1.74 2015/02/10 22:03:11 miod Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -211,7 +211,7 @@ systracef_read(struct file *fp, off_t *poff, struct uio *uio, rw_enter_write(&fst->lock); systrace_unlock(); if ((process = TAILQ_FIRST(&fst->messages)) != NULL) { - error = uiomovei((caddr_t)&process->msg, + error = uiomove((caddr_t)&process->msg, sizeof(struct str_message), uio); if (!error) { TAILQ_REMOVE(&fst->messages, process, msg_next); |