From 1e807f86860efda1ae9cd3167538f2adefc904a0 Mon Sep 17 00:00:00 2001 From: allanjude Date: Sun, 17 Jun 2018 19:31:35 +0000 Subject: [PATCH] stand/common/disk.c: Update debug printf This was missed in r330809 because it is compiled out by default Sponsored by: Klara Systems --- stand/common/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/common/disk.c b/stand/common/disk.c index 31e595757c21..e3d0d232aa4a 100644 --- a/stand/common/disk.c +++ b/stand/common/disk.c @@ -243,7 +243,7 @@ disk_open(struct disk_devdesc *dev, uint64_t mediasize, u_int sectorsize) od->mediasize = mediasize; od->sectorsize = sectorsize; DEBUG("%s unit %d, slice %d, partition %d => %p", - disk_fmtdev(dev), dev->d_unit, dev->d_slice, dev->d_partition, od); + disk_fmtdev(dev), dev->dd.d_unit, dev->d_slice, dev->d_partition, od); /* Determine disk layout. */ od->table = ptable_open(dev, mediasize / sectorsize, sectorsize,