diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-12-03 08:41:24 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 1999-12-03 08:41:24 +0000 |
| commit | fe0d408987b42b531420ff2de76d534dbe7ecee7 (patch) | |
| tree | 6196b778a0e888c9c44157e090059018b00a3080 /sys/dev/fdc/fdc.c | |
| parent | b06e7af6ddadc3933a558d3e3ab7c76125611445 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fdc/fdc.c')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index da131e1da7084..69e9795fc7bd5 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -772,7 +772,8 @@ fdc_add_device(device_t dev, const char *name, int unit) return; if (resource_int_value(name, unit, "drive", ivar) != 0) *ivar = 0; - child = device_add_child(dev, name, unit, ivar); + child = device_add_child(dev, name, unit); + device_set_ivars(child, ivar); if (child == 0) return; if (resource_int_value(name, unit, "disabled", &disabled) == 0 |
