From b91cd13bb60b9dbade2d489ea43a444352c73242 Mon Sep 17 00:00:00 2001 From: miod Date: Tue, 10 Feb 2015 22:03:11 +0000 Subject: Another uiomovei(,sizeof,) -> uiomove --- sys/dev/systrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/systrace.c') 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 * 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); -- cgit v1.2.3-59-g8ed1b