diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-04-10 04:36:02 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-04-10 04:36:02 +0000 |
| commit | f5746231ff7652f580d3f8f8ecec3f5fe47f1bdb (patch) | |
| tree | b753190964ccbd5954520469be2512025019f370 /sys/dev/stg | |
| parent | 2701fed4cf6398e814d04b0ff1f06d04c840e7f1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/stg')
| -rw-r--r-- | sys/dev/stg/tmc18c30_pccard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c index b99fdd28dc2a2..4a12139e77772 100644 --- a/sys/dev/stg/tmc18c30_pccard.c +++ b/sys/dev/stg/tmc18c30_pccard.c @@ -87,7 +87,8 @@ static int stg_pccard_match(device_t dev) if ((pp = pccard_product_lookup(dev, stg_products, sizeof(stg_products[0]), NULL)) != NULL) { - device_set_desc(dev, pp->pp_name); + if (pp->pp_name != NULL) + device_set_desc(dev, pp->pp_name); return(0); } return(EIO); |
