Module Name: src
Committed By: christos
Date: Thu Jan 1 17:46:09 UTC 2015
Modified Files:
src/sys/arch/atari/dev: fd.c
Log Message:
declare error
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/atari/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/atari/dev/fd.c
diff -u src/sys/arch/atari/dev/fd.c:1.81 src/sys/arch/atari/dev/fd.c:1.82
--- src/sys/arch/atari/dev/fd.c:1.81 Wed Dec 31 14:52:04 2014
+++ src/sys/arch/atari/dev/fd.c Thu Jan 1 12:46:09 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.81 2014/12/31 19:52:04 christos Exp $ */
+/* $NetBSD: fd.c,v 1.82 2015/01/01 17:46:09 christos Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.81 2014/12/31 19:52:04 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.82 2015/01/01 17:46:09 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -426,6 +426,7 @@ int
fdioctl(dev_t dev, u_long cmd, void * addr, int flag, struct lwp *l)
{
struct fd_softc *sc;
+ int error;
sc = device_lookup_private(&fd_cd, DISKUNIT(dev));