Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Missing 'if defined COMPAT13 or COMPAT50' in uvm_swa...
details: https://anonhg.NetBSD.org/src/rev/3e9fb49e1e58
branches: trunk
changeset: 751370:3e9fb49e1e58
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Feb 02 15:00:34 2010 +0000
description:
Missing 'if defined COMPAT13 or COMPAT50' in uvm_swap.c found by cppcheck
and reported by Henning Petersen in PR 42721.
diffstat:
sys/uvm/uvm_swap.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 8c7c47539e2b -r 3e9fb49e1e58 sys/uvm/uvm_swap.c
--- a/sys/uvm/uvm_swap.c Tue Feb 02 14:58:46 2010 +0000
+++ b/sys/uvm/uvm_swap.c Tue Feb 02 15:00:34 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_swap.c,v 1.147 2009/10/21 21:12:07 rmind Exp $ */
+/* $NetBSD: uvm_swap.c,v 1.148 2010/02/02 15:00:34 wiz Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 2009 Matthew R. Green
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.147 2009/10/21 21:12:07 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_swap.c,v 1.148 2010/02/02 15:00:34 wiz Exp $");
#include "fs_nfs.h"
#include "opt_uvmhist.h"
@@ -788,6 +788,8 @@
memcpy(&sep50->se50_path, sdp->swd_path,
sizeof sep50->se50_path);
sep = (struct swapent *)(sep50 + 1);
+#endif
+#if defined(COMPAT_13) || defined(COMPAT_50)
}
#endif
count++;
Home |
Main Index |
Thread Index |
Old Index