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/66a504826744
branches:  trunk
changeset: 332445:66a504826744
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 1aa5cd93f169 -r 66a504826744 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