Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/emips/ebus More nits.
details: https://anonhg.NetBSD.org/src/rev/1957ef94ea91
branches: trunk
changeset: 765971:1957ef94ea91
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Jun 12 05:22:30 2011 +0000
description:
More nits.
diffstat:
sys/arch/emips/ebus/dz_ebus.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 906d098a2a18 -r 1957ef94ea91 sys/arch/emips/ebus/dz_ebus.c
--- a/sys/arch/emips/ebus/dz_ebus.c Sun Jun 12 05:20:54 2011 +0000
+++ b/sys/arch/emips/ebus/dz_ebus.c Sun Jun 12 05:22:30 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dz_ebus.c,v 1.4 2011/06/12 05:20:54 tsutsui Exp $ */
+/* $NetBSD: dz_ebus.c,v 1.5 2011/06/12 05:22:30 tsutsui Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dz_ebus.c,v 1.4 2011/06/12 05:20:54 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dz_ebus.c,v 1.5 2011/06/12 05:22:30 tsutsui Exp $");
#include "opt_ddb.h"
@@ -129,7 +129,7 @@
return ENXIO;
line = DZ_PORT(minor(dev));
- if (line > 0) /* FIXME fo rmore than one line */
+ if (line > 0) /* FIXME for more than one line */
return ENXIO;
tp = sc->sc_dz.dz_tty;
@@ -192,7 +192,7 @@
/* Do a hangup if so required. */
if ((tp->t_cflag & HUPCL) || tp->t_wopen || !(tp->t_state & TS_ISOPEN))
- (void) dzmctl(sc, line, 0, DMSET);
+ (void)dzmctl(sc, line, 0, DMSET);
return ttyclose(tp);
}
Home |
Main Index |
Thread Index |
Old Index