Remove ECKSUM alias in zinject

The custom ECKSUM errno is defined as appropriate by the
platform specific os/linux/spl/sys/errno.h header.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9537
This commit is contained in:
Matthew Macy 2019-11-01 10:31:42 -07:00 committed by Brian Behlendorf
parent 32682b0c03
commit bbc18de83a

View File

@ -159,8 +159,6 @@
libzfs_handle_t *g_zfs;
int zfs_fd;
#define ECKSUM EBADE
static const char *errtable[TYPE_INVAL] = {
"data",
"dnode",