diff options
author | 2016-01-09 11:34:57 +0000 | |
---|---|---|
committer | 2016-01-09 11:34:57 +0000 | |
commit | 53a60d98a5a15b89f3551204e596fd6ee5929ba4 (patch) | |
tree | 5a956891f555abf33d52607f993fb79f411c0460 | |
parent | Use uiomove(9) instead of uiomovei(9). From Martin Natano. (diff) | |
download | wireguard-openbsd-53a60d98a5a15b89f3551204e596fd6ee5929ba4.tar.xz wireguard-openbsd-53a60d98a5a15b89f3551204e596fd6ee5929ba4.zip |
Use uiomove(9) instead of uiomovei(9). From Martin Natano.
-rw-r--r-- | sys/dev/pci/drm/drm_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index d5d8a4fa761..a21db3b229e 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: drm_drv.c,v 1.143 2016/01/06 09:09:16 kettenis Exp $ */ +/* $OpenBSD: drm_drv.c,v 1.144 2016/01/09 11:34:57 kettenis Exp $ */ /*- * Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org> * Copyright © 2008 Intel Corporation @@ -948,7 +948,7 @@ drmread(dev_t kdev, struct uio *uio, int ioflag) while (drm_dequeue_event(dev, file_priv, uio->uio_resid, &ev)) { MUTEX_ASSERT_UNLOCKED(&dev->event_lock); /* XXX we always destroy the event on error. */ - error = uiomovei(ev->event, ev->event->length, uio); + error = uiomove(ev->event, ev->event->length, uio); ev->destroy(ev); if (error) break; |