Fix a paste-o that broke the build on all arches.

Reported by:	many
Pointy hat:	ian@
This commit is contained in:
ian 2019-02-25 18:11:59 +00:00
parent 10e5aeb6eb
commit 22e5a596e4

View File

@ -345,7 +345,7 @@ at45d_delayed_attach(void *xsc)
sc->disk->d_mediasize = pagesize * ident->pagecount;
sc->disk->d_unit = device_get_unit(sc->dev);
disk_create(sc->disk, DISK_VERSION);
disk_add_alias(sc->sc_disk, "flash/spi");
disk_add_alias(sc->disk, "flash/spi");
bioq_init(&sc->bio_queue);
kproc_create(&at45d_task, sc, &sc->p, 0, 0, "task: at45d flash");
sc->taskstate = TSTATE_RUNNING;