Correct error message.

Reported by:	Dirk Engling <erdgeist@erdgeist.org>
This commit is contained in:
pjd 2013-04-16 12:31:16 +00:00
parent 586b63d9f3
commit a87381e520

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) {