Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern KNF nit.
details: https://anonhg.NetBSD.org/src/rev/e529da7217eb
branches: trunk
changeset: 755640:e529da7217eb
user: simonb <simonb%NetBSD.org@localhost>
date: Sun Jun 13 13:43:02 2010 +0000
description:
KNF nit.
diffstat:
sys/kern/kern_stub.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 93d24ebd71b8 -r e529da7217eb sys/kern/kern_stub.c
--- a/sys/kern/kern_stub.c Sun Jun 13 11:35:41 2010 +0000
+++ b/sys/kern/kern_stub.c Sun Jun 13 13:43:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_stub.c,v 1.28 2010/04/28 20:33:52 dyoung Exp $ */
+/* $NetBSD: kern_stub.c,v 1.29 2010/06/13 13:43:02 simonb Exp $ */
/*-
* Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.28 2010/04/28 20:33:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_stub.c,v 1.29 2010/06/13 13:43:02 simonb Exp $");
#include "opt_ptrace.h"
#include "opt_ktrace.h"
@@ -267,5 +267,6 @@
bool
default_bus_space_is_equal(bus_space_tag_t t1, bus_space_tag_t t2)
{
+
return memcmp(&t1, &t2, sizeof(t1)) == 0;
}
Home |
Main Index |
Thread Index |
Old Index