Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/include Fix typo reported by Jed Davis on port-...



details:   https://anonhg.NetBSD.org/src/rev/9d6981224b72
branches:  trunk
changeset: 584163:9d6981224b72
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Sep 10 15:41:54 2005 +0000

description:
Fix typo reported by Jed Davis on port-xen:
IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN is a read, not a write.

diffstat:

 sys/arch/xen/include/xenio.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r aa15ad2eddf0 -r 9d6981224b72 sys/arch/xen/include/xenio.h
--- a/sys/arch/xen/include/xenio.h      Sat Sep 10 15:38:46 2005 +0000
+++ b/sys/arch/xen/include/xenio.h      Sat Sep 10 15:41:54 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xenio.h,v 1.3 2005/05/24 12:07:12 yamt Exp $   */
+/*     $NetBSD: xenio.h,v 1.4 2005/09/10 15:41:54 bouyer Exp $ */
 
 /******************************************************************************
  * privcmd.h
@@ -83,7 +83,7 @@
 #define IOCTL_PRIVCMD_MMAPBATCH        \
     _IOW('P', 3, privcmd_mmapbatch_t)
 #define IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN \
-    _IOW('P', 4, unsigned long)
+    _IOR('P', 4, unsigned long)
 
 /*
  * @cmd: IOCTL_PRIVCMD_INITDOMAIN_EVTCHN



Home | Main Index | Thread Index | Old Index