mirror of
https://github.com/golang/go
synced 2024-11-22 10:04:42 -07:00
hash/crc32: fix typo in arm64 archInitCastagnoli panic message
Change-Id: I5291216d5416eccd5a67b45b2f32cf2932b3747f Reviewed-on: https://go-review.googlesource.com/c/go/+/407974 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
9cd1818a7d
commit
7791e934c8
@ -19,7 +19,7 @@ func archAvailableCastagnoli() bool {
|
|||||||
|
|
||||||
func archInitCastagnoli() {
|
func archInitCastagnoli() {
|
||||||
if !cpu.ARM64.HasCRC32 {
|
if !cpu.ARM64.HasCRC32 {
|
||||||
panic("arch-specific crc32 instruction for Catagnoli not available")
|
panic("arch-specific crc32 instruction for Castagnoli not available")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user