summaryrefslogtreecommitdiff
path: root/sys/src/cmd/vmx/virtio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/cmd/vmx/virtio.c')
-rw-r--r--sys/src/cmd/vmx/virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/vmx/virtio.c b/sys/src/cmd/vmx/virtio.c
index 4e18fa7bd..6451eeef5 100644
--- a/sys/src/cmd/vmx/virtio.c
+++ b/sys/src/cmd/vmx/virtio.c
@@ -518,7 +518,7 @@ vionetwproc(void *vp)
if((v->net.flags & VNETHEADER) != 0){
txbuf[0] = len >> 8;
txbuf[1] = len;
- ns = nsec();
+ ns = nanosec();
txbuf[2] = ns >> 56;
txbuf[3] = ns >> 48;
txbuf[4] = ns >> 40;