Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/news68k/news68k this is not python (add missing bra...



details:   https://anonhg.NetBSD.org/src/rev/602c0a44cb06
branches:  trunk
changeset: 802587:602c0a44cb06
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 21 16:34:53 2014 +0000

description:
this is not python (add missing braces)

diffstat:

 sys/arch/news68k/news68k/bus_space.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r ef0a3a03888f -r 602c0a44cb06 sys/arch/news68k/news68k/bus_space.c
--- a/sys/arch/news68k/news68k/bus_space.c      Sun Sep 21 16:33:48 2014 +0000
+++ b/sys/arch/news68k/news68k/bus_space.c      Sun Sep 21 16:34:53 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.c,v 1.12 2014/03/24 19:54:28 christos Exp $  */
+/*     $NetBSD: bus_space.c,v 1.13 2014/09/21 16:34:53 christos Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.12 2014/03/24 19:54:28 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.13 2014/09/21 16:34:53 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -61,9 +61,10 @@
                return 0;
        }
 
-       if (t == NEWS68K_BUS_SPACE_EIO)
+       if (t == NEWS68K_BUS_SPACE_EIO) {
                *bshp = (bus_space_handle_t)bpa; /* XXX use tt0 mapping */
                return 0;
+       }
 
        return 1;
 }



Home | Main Index | Thread Index | Old Index