From dec1d3370d16f42fc7382af6d365e931b73a7521 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Mon, 25 Feb 2019 18:11:59 +0000 Subject: [PATCH] Fix a paste-o that broke the build on all arches. Reported by: many Pointy hat: ian@ --- sys/dev/flash/at45d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/flash/at45d.c b/sys/dev/flash/at45d.c index 92923164b134..8a948dc4e189 100644 --- a/sys/dev/flash/at45d.c +++ b/sys/dev/flash/at45d.c @@ -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;