Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot fix typo
details: https://anonhg.NetBSD.org/src/rev/0ff7e2bc57b6
branches: trunk
changeset: 984142:0ff7e2bc57b6
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Wed Jun 23 21:42:43 2021 +0000
description:
fix typo
diffstat:
sys/stand/efiboot/efiblock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 67af0ab03d35 -r 0ff7e2bc57b6 sys/stand/efiboot/efiblock.c
--- a/sys/stand/efiboot/efiblock.c Wed Jun 23 20:55:50 2021 +0000
+++ b/sys/stand/efiboot/efiblock.c Wed Jun 23 21:42:43 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efiblock.c,v 1.16 2021/06/23 20:55:50 jmcneill Exp $ */
+/* $NetBSD: efiblock.c,v 1.17 2021/06/23 21:42:43 jmcneill Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -133,7 +133,7 @@
blkbuf_offset = off % bdev->bio->Media->BlockSize;
blkbuf_size = (lba_end - lba_start) * bdev->bio->Media->BlockSize;
if (bdev->bio->Media->IoAlign > 1) {
- blkbuf_size = (blkbuf_size + bdev->bio-Media->IoAlign - 1) /
+ blkbuf_size = (blkbuf_size + bdev->bio->Media->IoAlign - 1) /
bdev->bio->Media->IoAlign *
bdev->bio->Media->IoAlign;
}
Home |
Main Index |
Thread Index |
Old Index