freebsd-src/stand/libsa/zfs
Warner Losh 525e6d6c89 loader/zfs: Fix to actually return the last error
The last fix, to try to return the last error, really returns the first
return code after the last error, which could be zero. Instead, return
the last error. Also, change rc to err to make it visually distinct from
rv, which is the cause of my error in e54bb0ad80.

Reported by:		Bill Sommerfeld <sommerfeld@hamachi.org>
Fixes:			e54bb0ad80
Sponsored by:		Netflix
2024-02-29 09:12:21 -07:00
..
spl/sys
libzfs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nvlist.c stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvlist.h
zfs.c loader: we can only env_discard() existing variable 2024-02-26 14:56:52 +02:00
zfsimpl.c loader/zfs: Fix to actually return the last error 2024-02-29 09:12:21 -07:00