make this compile

This commit is contained in:
cegger 2008-07-17 14:43:38 +00:00
parent 075c838a83
commit 2515b0ec09
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: tctrl.c,v 1.48 2008/06/11 21:25:31 drochner Exp $ */
/* $NetBSD: tctrl.c,v 1.49 2008/07/17 14:43:38 cegger Exp $ */
/*-
* Copyright (c) 1998, 2005, 2006 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tctrl.c,v 1.48 2008/06/11 21:25:31 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: tctrl.c,v 1.49 2008/07/17 14:43:38 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1451,7 +1451,7 @@ tctrl_event_thread(void *v)
dv = device_find_by_xname("le0");
if (dv != NULL)
le = device_private(dv);
printf("found %s\n", sd->sc_dev.dv_xname);
printf("found %s\n", device_xname(sd->sc_dev));
rcount = sd->sc_dk.dk_stats->io_rxfer;
wcount = sd->sc_dk.dk_stats->io_wxfer;