Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/mba return error



details:   https://anonhg.NetBSD.org/src/rev/84ab51c09a04
branches:  trunk
changeset: 335262:84ab51c09a04
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 31 20:37:52 2014 +0000

description:
return error

diffstat:

 sys/arch/vax/mba/hp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2e11d0cf088b -r 84ab51c09a04 sys/arch/vax/mba/hp.c
--- a/sys/arch/vax/mba/hp.c     Wed Dec 31 20:37:10 2014 +0000
+++ b/sys/arch/vax/mba/hp.c     Wed Dec 31 20:37:52 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hp.c,v 1.51 2014/12/31 19:52:05 christos Exp $ */
+/*     $NetBSD: hp.c,v 1.52 2014/12/31 20:37:52 christos Exp $ */
 /*
  * Copyright (c) 1996 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hp.c,v 1.51 2014/12/31 19:52:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hp.c,v 1.52 2014/12/31 20:37:52 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -326,7 +326,7 @@
 
        error = disk_ioctl(&sc->sc_disk, dev, cmd, addr, flag, l); 
        if (error != EPASSTHROUGH)
-               goto out;
+               return error;
 
        switch (cmd) {
        case DIOCSDINFO:



Home | Main Index | Thread Index | Old Index