gzread(3) doesn't always set errno, so use gzerror(3)
authordv <dv@openbsd.org>
Tue, 4 May 2021 10:48:51 +0000 (10:48 +0000)
committerdv <dv@openbsd.org>
Tue, 4 May 2021 10:48:51 +0000 (10:48 +0000)
commit4dcbda623f707a7cc2c70bd78bfb9fdfac7a8711
treed8ff3926ca6f2b6d09366994346c81306c9cd69e
parent207b0ef83892d89732738aeae1d68926283b0586
gzread(3) doesn't always set errno, so use gzerror(3)

Compression errors from libz don't set errno.

OK mlarkin@
usr.sbin/vmd/loadfile_elf.c