From bbc18de83afaceff498104d9d261c0328057ccf6 Mon Sep 17 00:00:00 2001 From: Matthew Macy Date: Fri, 1 Nov 2019 10:31:42 -0700 Subject: [PATCH] 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 Signed-off-by: Matt Macy Closes #9537 --- cmd/zinject/zinject.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c index 8a8762899d..01b4f0ce72 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",