diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 313475ed96..086e6d7ef9 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -2789,7 +2789,7 @@ ztest_verify_blocks(char *pool) FILE *fp; /* Designed to be run exclusively in the development tree */ - (void) realpath(getexecname(), bin); + VERIFY(realpath(getexecname(), bin) != NULL); strstr(bin, "/ztest/")[0] = '\0'; (void) sprintf(zdb,