git: 27c2f016b867 - main - fstyp: Correct comment: Raspberry Pi Pico, not Nano
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Mar 2022 17:04:22 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=27c2f016b86744aa5d4c6031b4ef2fc16bbf6546
commit 27c2f016b86744aa5d4c6031b4ef2fc16bbf6546
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-03-30 17:03:15 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-03-30 17:04:11 +0000
fstyp: Correct comment: Raspberry Pi Pico, not Nano
Fixes: 868c1b8431f2 ("fstyp: detect Raspberry Pi Pico boot...")
---
usr.sbin/fstyp/msdosfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/fstyp/msdosfs.c b/usr.sbin/fstyp/msdosfs.c
index b2144fa46cb1..473180d9c644 100644
--- a/usr.sbin/fstyp/msdosfs.c
+++ b/usr.sbin/fstyp/msdosfs.c
@@ -52,7 +52,7 @@ check_signature(uint8_t sector0[512])
/* Check for the FAT boot sector signature. */
if (sector0[510] == 0x55 && sector0[511] == 0xaa)
return (true);
- /* Special case for Raspberry Pi Nano bootloader. */
+ /* Special case for Raspberry Pi Pico bootloader. */
if (sector0[510] == 0 && sector0[511] == 0 &&
sector0[0] == 0xeb && sector0[1] == 0x3c && sector0[2] == 0x90)
return (true);