diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2016-10-21 15:06:15 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2016-10-21 15:06:15 +0000 |
commit | 239e45213756ba78bd9601005f9ba60c3f644e34 (patch) | |
tree | e29983ae7b2ba392741fe298b887ec93267bba58 /sys/arch | |
parent | 93b61b64665d9167b4f02e36e6372ae4cfe5ea51 (diff) |
Fix grammar, and simplify a little.
Pointed out by pirofti@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/octeon/dev/cn30xxgmx.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/octeon/dev/cn30xxgmx.c b/sys/arch/octeon/dev/cn30xxgmx.c index ba4beb24a2c..c859c52e5ed 100644 --- a/sys/arch/octeon/dev/cn30xxgmx.c +++ b/sys/arch/octeon/dev/cn30xxgmx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cn30xxgmx.c,v 1.26 2016/08/04 13:10:31 visa Exp $ */ +/* $OpenBSD: cn30xxgmx.c,v 1.27 2016/10/21 15:06:14 visa Exp $ */ /* * Copyright (c) 2007 Internet Initiative Japan, Inc. @@ -331,10 +331,9 @@ cn30xxgmx_init(struct cn30xxgmx_softc *sc) inf_mode = bus_space_read_8(sc->sc_regt, sc->sc_regh, GMX0_INF_MODE); if ((inf_mode & INF_MODE_EN) == 0) { - printf("port are disable\n"); + printf("ports are disabled\n"); sc->sc_nports = 0; - result = 1; - return result; + return 1; } id = octeon_get_chipid(); |