K 10 svn:author V 7 glebius K 8 svn:date V 27 2020-08-20T20:31:47.252721Z K 7 svn:log V 338 When we have a command returned by zfs_nextboot() that is longer 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 END