aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c')
-rw-r--r--sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c b/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c
index 42c510ed082d..8c4cb88955ea 100644
--- a/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c
+++ b/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/xattrtest.c
@@ -44,11 +44,9 @@
#include <sys/time.h>
#include <linux/limits.h>
-extern char *program_invocation_short_name;
-
#define ERROR(fmt, ...) \
- fprintf(stderr, "%s: %s:%d: %s: " fmt "\n", \
- program_invocation_short_name, __FILE__, __LINE__, \
+ fprintf(stderr, "xattrtest: %s:%d: %s: " fmt "\n", \
+ __FILE__, __LINE__, \
__func__, ## __VA_ARGS__);
static const char shortopts[] = "hvycdn:f:x:s:p:t:e:rRko:";