Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/dev restore part decl.
details: https://anonhg.NetBSD.org/src/rev/873a93a7fafc
branches: trunk
changeset: 805441:873a93a7fafc
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 02 15:53:25 2015 +0000
description:
restore part decl.
diffstat:
sys/arch/x68k/dev/fd.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r bdddc59d0231 -r 873a93a7fafc sys/arch/x68k/dev/fd.c
--- a/sys/arch/x68k/dev/fd.c Fri Jan 02 15:52:33 2015 +0000
+++ b/sys/arch/x68k/dev/fd.c Fri Jan 02 15:53:25 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.113 2015/01/01 17:48:56 christos Exp $ */
+/* $NetBSD: fd.c,v 1.114 2015/01/02 15:53:25 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.113 2015/01/01 17:48:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.114 2015/01/02 15:53:25 christos Exp $");
#include "opt_ddb.h"
#include "opt_m68k_arch.h"
@@ -1608,11 +1608,12 @@
struct fdformat_parms *form_parms;
struct fdformat_cmd *form_cmd;
struct ne7_fd_formb *fd_formb;
+ int part = DISKPART(dev);
struct disklabel buffer;
int error;
unsigned int scratch;
int il[FD_MAX_NSEC + 1];
- int i, j, error;
+ int i, j;
error = disk_ioctl(&fd->sc_dk, dev, cmd, addr, flag, l);
if (error != EPASSTHROUGH)
Home |
Main Index |
Thread Index |
Old Index