than command in the loader.conf, the latter needs to be nul terminated, otherwise garbage trailer left from zfs_nextboot() will be passed to parse_cmd() together with loader.conf command. While here, reset cmd to empty string if read() returns error. Reviewed by: tsoome |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.depend | ||
zfsboot.8 | ||
zfsboot.c | ||
zfsldr.S |