summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-01-16 15:22:15 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-01-16 15:22:15 +0000
commit6efebd2e637886f122f8c05ba4a670766b0b1af1 (patch)
treefdf0342beba48bf883ab2e41cbbb732d92bda23f /sys/arch
parent7d2967d7fea09e4f8e23545ada8e80b9bcebc2c5 (diff)
Fix return value.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/dev/octxctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/octxctl.c b/sys/arch/octeon/dev/octxctl.c
index cf0b37a3412..775b7e92ec9 100644
--- a/sys/arch/octeon/dev/octxctl.c
+++ b/sys/arch/octeon/dev/octxctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octxctl.c,v 1.1 2017/08/01 16:18:12 visa Exp $ */
+/* $OpenBSD: octxctl.c,v 1.2 2018/01/16 15:22:14 visa Exp $ */
/*
* Copyright (c) 2017 Visa Hankala
@@ -348,7 +348,7 @@ octxctl_dwc3_init(struct octxctl_softc *sc, struct fdt_reg *reg)
out:
bus_space_unmap(sc->sc_iot, ioh, reg->size);
- return 0;
+ return error;
}
/*