Correct error message.

Reported by:	Dirk Engling <erdgeist@erdgeist.org>
This commit is contained in:
Pawel Jakub Dawidek 2013-04-16 12:31:16 +00:00
parent 4ff7c740fe
commit fe3fcf7b3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249547

View File

@ -4590,7 +4590,7 @@ zfs_jail(zfs_handle_t *zhp, int jailid, int attach)
dgettext(TEXT_DOMAIN, "cannot jail '%s'"), zhp->zfs_name);
} else {
(void) snprintf(errbuf, sizeof (errbuf),
dgettext(TEXT_DOMAIN, "cannot jail '%s'"), zhp->zfs_name);
dgettext(TEXT_DOMAIN, "cannot unjail '%s'"), zhp->zfs_name);
}
switch (zhp->zfs_type) {