libbe(3): Light typo fix/word addition

This commit is contained in:
Kyle Evans 2018-08-13 03:43:49 +00:00
parent 1b057aac2b
commit 00ece7c2a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337698

View File

@ -726,9 +726,10 @@ be_import(libbe_handle_t *lbh, const char *bootenv, int fd)
return (set_error(lbh, BE_ERR_UNKNOWN));
/*
* Finally, we open up the dataset we just cloned the snapshot to so that
* Finally, we open up the dataset we just cloned the snapshot so that
* we may promote it. This is necessary in order to clean up the ghost
* snapshot that doesn't need to be seen.
* snapshot that doesn't need to be seen after the operation is
* complete.
*/
if ((zfs = zfs_open(lbh->lzh, buf, ZFS_TYPE_DATASET)) == NULL)
return (set_error(lbh, BE_ERR_ZFSOPEN));