Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2019 18:11:59 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344529 - head/sys/dev/flash
Message-ID:  <201902251811.x1PIBx6a012485@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Mon Feb 25 18:11:59 2019
New Revision: 344529
URL: https://svnweb.freebsd.org/changeset/base/344529

Log:
  Fix a paste-o that broke the build on all arches.
  
  Reported by:	many
  Pointy hat:	ian@

Modified:
  head/sys/dev/flash/at45d.c

Modified: head/sys/dev/flash/at45d.c
==============================================================================
--- head/sys/dev/flash/at45d.c	Mon Feb 25 18:00:14 2019	(r344528)
+++ head/sys/dev/flash/at45d.c	Mon Feb 25 18:11:59 2019	(r344529)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902251811.x1PIBx6a012485>