Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/bouyer-xen2]: src/sys/arch/xen/xen Adapt for fdclone() change.



details:   https://anonhg.NetBSD.org/src/rev/12624ee5f1af
branches:  bouyer-xen2
changeset: 571893:12624ee5f1af
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Feb 13 19:15:49 2005 +0000

description:
Adapt for fdclone() change.

diffstat:

 sys/arch/xen/xen/xenevt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 72d2a8ff0eee -r 12624ee5f1af sys/arch/xen/xen/xenevt.c
--- a/sys/arch/xen/xen/xenevt.c Sat Feb 12 22:37:39 2005 +0000
+++ b/sys/arch/xen/xen/xenevt.c Sun Feb 13 19:15:49 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xenevt.c,v 1.1.2.3 2005/02/12 22:37:39 bouyer Exp $      */
+/*      $NetBSD: xenevt.c,v 1.1.2.4 2005/02/13 19:15:49 bouyer Exp $      */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -135,7 +135,7 @@
 
 /* open the xenevt device; this is where we clone */
 int
-xenevtopen(dev_t dev, int flag, int mode, struct proc *p)
+xenevtopen(dev_t dev, int flags, int mode, struct proc *p)
 {
        struct xenevt_d *d;
        struct file *fp;
@@ -147,7 +147,7 @@
 
        d = malloc(sizeof(*d), M_DEVBUF, M_WAITOK | M_ZERO);
 
-       return fdclone(p, fp, fd, &xenevt_fileops, d);
+       return fdclone(p, fp, fd, flags, &xenevt_fileops, d);
 }
 
 static int



Home | Main Index | Thread Index | Old Index