Module Name:    src
Committed By:   manu
Date:           Mon Feb  3 17:03:16 UTC 2014

Modified Files:
        src/sys/compat/netbsd32: netbsd32.h

Log Message:
 Properly translate struct swapent for COMPAT_NETBSD32  (missing commit)


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/compat/netbsd32/netbsd32.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/netbsd32/netbsd32.h
diff -u src/sys/compat/netbsd32/netbsd32.h:1.98 src/sys/compat/netbsd32/netbsd32.h:1.99
--- src/sys/compat/netbsd32/netbsd32.h:1.98	Fri Jan 24 22:10:47 2014
+++ src/sys/compat/netbsd32/netbsd32.h	Mon Feb  3 17:03:16 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32.h,v 1.98 2014/01/24 22:10:47 christos Exp $	*/
+/*	$NetBSD: netbsd32.h,v 1.99 2014/02/03 17:03:16 manu Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001, 2008 Matthew R. Green
@@ -384,6 +384,16 @@ struct netbsd32_loadavg {
 	netbsd32_long	fscale;
 };
 
+/* from <sys/swap.h> */
+struct netbsd32_swapent {
+	netbsd32_dev_t	se_dev;		/* device id */
+	int	se_flags;		/* flags */
+	int	se_nblks;		/* total blocks */
+	int	se_inuse;		/* blocks in use */
+	int	se_priority;		/* priority of this device */
+	char	se_path[PATH_MAX+1];	/* path	name */
+};
+
 /* from <sys/ipc.h> */
 typedef netbsd32_pointer_t netbsd32_ipc_permp_t;
 struct netbsd32_ipc_perm {

Reply via email to