This commit is contained in:
christos 2014-12-31 20:55:53 +00:00
parent 41f392f56e
commit 4a751d18af
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.93 2014/12/31 19:52:04 christos Exp $ */
/* $NetBSD: fd.c,v 1.94 2014/12/31 20:55:53 christos Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.93 2014/12/31 19:52:04 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.94 2014/12/31 20:55:53 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -573,7 +573,7 @@ fdioctl(dev_t dev, u_long cmd, void *addr, int flag, struct lwp *l)
if ((sc->flags & FDF_HAVELABEL) == 0)
return(EBADF);
error = disk_ioctl(&sk->dkdev, dev, cmd, addr, flag, l);
error = disk_ioctl(&sc->dkdev, dev, cmd, addr, flag, l);
if (error != EPASSTHROUGH)
return error;