Module Name:    src
Committed By:   christos
Date:           Wed Dec 31 20:37:53 UTC 2014

Modified Files:
        src/sys/arch/vax/mba: hp.c

Log Message:
return error


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/vax/mba/hp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/mba/hp.c
diff -u src/sys/arch/vax/mba/hp.c:1.51 src/sys/arch/vax/mba/hp.c:1.52
--- src/sys/arch/vax/mba/hp.c:1.51	Wed Dec 31 14:52:05 2014
+++ src/sys/arch/vax/mba/hp.c	Wed Dec 31 15:37:52 2014
@@ -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 @@ hpioctl(dev_t dev, u_long cmd, void *add
 
 	error = disk_ioctl(&sc->sc_disk, dev, cmd, addr, flag, l); 
 	if (error != EPASSTHROUGH)
-		goto out;
+		return error;
 
 	switch (cmd) {
 	case DIOCSDINFO:

Reply via email to