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/543e8a3a0164
branches: trunk
changeset: 379868:543e8a3a0164
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 46f0e0af5677 -r 543e8a3a0164 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 @@ efi_block_do_read_blockio(struct efi_blo
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