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

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