Module Name: src
Committed By: christos
Date: Thu Jan 1 17:48:56 UTC 2015
Modified Files:
src/sys/arch/x68k/dev: fd.c
Log Message:
declare error
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/x68k/dev/fd.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/x68k/dev/fd.c
diff -u src/sys/arch/x68k/dev/fd.c:1.112 src/sys/arch/x68k/dev/fd.c:1.113
--- src/sys/arch/x68k/dev/fd.c:1.112 Wed Dec 31 14:52:05 2014
+++ src/sys/arch/x68k/dev/fd.c Thu Jan 1 12:48:56 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.112 2014/12/31 19:52:05 christos Exp $ */
+/* $NetBSD: fd.c,v 1.113 2015/01/01 17:48:56 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.112 2014/12/31 19:52:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.113 2015/01/01 17:48:56 christos Exp $");
#include "opt_ddb.h"
#include "opt_m68k_arch.h"
@@ -1612,7 +1612,7 @@ fdioctl(dev_t dev, u_long cmd, void *add
int error;
unsigned int scratch;
int il[FD_MAX_NSEC + 1];
- int i, j;
+ int i, j, error;
error = disk_ioctl(&fd->sc_dk, dev, cmd, addr, flag, l);
if (error != EPASSTHROUGH)