Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vsa declare error



details:   https://anonhg.NetBSD.org/src/rev/51411a88a62d
branches:  trunk
changeset: 805403:51411a88a62d
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 31 20:37:10 2014 +0000

description:
declare error

diffstat:

 sys/arch/vax/vsa/hdc9224.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d09601c312a3 -r 51411a88a62d sys/arch/vax/vsa/hdc9224.c
--- a/sys/arch/vax/vsa/hdc9224.c        Wed Dec 31 20:36:20 2014 +0000
+++ b/sys/arch/vax/vsa/hdc9224.c        Wed Dec 31 20:37:10 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hdc9224.c,v 1.55 2014/12/31 19:52:05 christos Exp $ */
+/*     $NetBSD: hdc9224.c,v 1.56 2014/12/31 20:37:10 christos Exp $ */
 /*
  * Copyright (c) 1996 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -51,7 +51,7 @@
 #undef RDDEBUG
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdc9224.c,v 1.55 2014/12/31 19:52:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdc9224.c,v 1.56 2014/12/31 20:37:10 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -688,6 +688,7 @@
 {
        struct rdsoftc * const rd = device_lookup_private(&rd_cd, DISKUNIT(dev));
        struct disklabel * const lp = rd->sc_disk.dk_label;
+       int error;
 
        error = disk_ioctl(&rd->sc_disk, dev, cmd, addr, flag, l);
        if (error != EPASSTHROUGH)



Home | Main Index | Thread Index | Old Index