Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch

This commit is contained in:
Brian Behlendorf 2009-03-12 15:54:13 -07:00
commit 93643c487f
1 changed files with 1 additions and 1 deletions

View File

@ -2789,7 +2789,7 @@ ztest_verify_blocks(char *pool)
FILE *fp; FILE *fp;
/* Designed to be run exclusively in the development tree */ /* Designed to be run exclusively in the development tree */
(void) realpath(getexecname(), bin); VERIFY(realpath(getexecname(), bin) != NULL);
strstr(bin, "/ztest/")[0] = '\0'; strstr(bin, "/ztest/")[0] = '\0';
(void) sprintf(zdb, (void) sprintf(zdb,