mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
A 0x01 was mistakenly changed to 0x10. This commit rectifies the issue, while also adding a test to ensure this functionality is behaving as expected. Fixes golang/go#46906 Change-Id: I833fe03e69a71283b4f7abb6cf640574d03f5d24 Reviewed-on: https://go-review.googlesource.com/c/sys/+/331010 Trust: Jason A. Donenfeld <Jason@zx2c4.com> Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>