On Wed, Jan 25, 2017 at 03:43:37AM -0700, Patrick Wildt wrote: > CVSROOT: /cvs > Module name: src > Changes by: patr...@cvs.openbsd.org 2017/01/25 03:43:37 > > Modified files: > lib/libc/arch/aarch64/sys: cerror.S > > Log message: > __errno() returns a 32-bit pointer, so make sure we write a 32-bit > value to and not overwrite other bits by writing a 64-bit value. >
I should have worded that better. It's a 64-bit pointer pointing to a 32-bit value. Make sure we store a 32-bit value and not a 64-bit value.