From a823cbc6f70220c99f30113ddfbd00abeeb43a83 Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Mon, 11 Aug 2008 01:49:46 +0000 Subject: [PATCH] Use device_set_desc() instead of device_set_desc_copy() as we don't manipulate the verbose description of a device. --- sys/dev/bfe/if_bfe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c index 93409929003f..c197ec12e9a2 100644 --- a/sys/dev/bfe/if_bfe.c +++ b/sys/dev/bfe/if_bfe.c @@ -177,7 +177,7 @@ bfe_probe(device_t dev) while (t->bfe_name != NULL) { if (pci_get_vendor(dev) == t->bfe_vid && pci_get_device(dev) == t->bfe_did) { - device_set_desc_copy(dev, t->bfe_name); + device_set_desc(dev, t->bfe_name); return (BUS_PROBE_DEFAULT); } t++;