K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-10-17T18:47:05.420068Z K 7 svn:log V 472 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. (cherry picked from commit c7dd069c70d465298f14553d981bfe5e2ffd0459) Git Hash: 4d997b340dd7ee561b2f44bbcef3c532108640e6 Git Author: glebius@FreeBSD.org END