summaryrefslogtreecommitdiffstats
path: root/sys/dev/systrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/systrace.c')
-rw-r--r--sys/dev/systrace.c4
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);