summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dconschat/dconschat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dconschat/dconschat.c')
-rw-r--r--usr.sbin/dconschat/dconschat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dconschat/dconschat.c b/usr.sbin/dconschat/dconschat.c
index 58a16df..9d811c2 100644
--- a/usr.sbin/dconschat/dconschat.c
+++ b/usr.sbin/dconschat/dconschat.c
@@ -204,7 +204,7 @@ dconschat_get_crom(struct dcons_state *dc)
if (dread(dc, &buf, 4, addr + i) < 0) {
if (verbose)
warn("crom read faild");
- return (-1);
+ goto out;
}
buf = ntohl(buf);
if (verbose)
OpenPOWER on IntegriCloud