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:
parent
32682b0c03
commit
bbc18de83a
|
@ -159,8 +159,6 @@
|
||||||
libzfs_handle_t *g_zfs;
|
libzfs_handle_t *g_zfs;
|
||||||
int zfs_fd;
|
int zfs_fd;
|
||||||
|
|
||||||
#define ECKSUM EBADE
|
|
||||||
|
|
||||||
static const char *errtable[TYPE_INVAL] = {
|
static const char *errtable[TYPE_INVAL] = {
|
||||||
"data",
|
"data",
|
||||||
"dnode",
|
"dnode",
|
||||||
|
|
Loading…
Reference in New Issue