diff --git a/sys/dev/ofw/ofdisk.c b/sys/dev/ofw/ofdisk.c index 56aac98f68bf..91bfc3196bbc 100644 --- a/sys/dev/ofw/ofdisk.c +++ b/sys/dev/ofw/ofdisk.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofdisk.c,v 1.38 2007/10/08 16:41:12 ad Exp $ */ +/* $NetBSD: ofdisk.c,v 1.39 2007/10/17 17:57:11 he Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ofdisk.c,v 1.38 2007/10/08 16:41:12 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofdisk.c,v 1.39 2007/10/17 17:57:11 he Exp $"); #include #include @@ -134,7 +134,7 @@ ofdisk_attach(struct device *parent, struct device *self, void *aux) of->sc_phandle = oba->oba_phandle; of->sc_unit = oba->oba_unit; of->sc_ihandle = 0; - disk_init(&of->sc_dk, &ofdisk_dkdriver, of->sc_dev.dv_xname); + disk_init(&of->sc_dk, of->sc_dev.dv_xname, &ofdisk_dkdriver); disk_attach(&of->sc_dk); printf("\n");