summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-11-01 10:31:42 -0700
committerBrian Behlendorf <[email protected]>2019-11-01 10:31:42 -0700
commitbbc18de83afaceff498104d9d261c0328057ccf6 (patch)
treea23508e7a19143c9b78e07852c6f240f4230dfa4 /cmd
parent32682b0c0347a4d695fbd3e02d76f9871a0cefd6 (diff)
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 <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9537
Diffstat (limited to 'cmd')
-rw-r--r--cmd/zinject/zinject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c
index 8a8762899..01b4f0ce7 100644
--- a/cmd/zinject/zinject.c
+++ b/cmd/zinject/zinject.c
@@ -159,8 +159,6 @@
libzfs_handle_t *g_zfs;
int zfs_fd;
-#define ECKSUM EBADE
-
static const char *errtable[TYPE_INVAL] = {
"data",
"dnode",