fix segfault when no API is specified to mdtest
Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@intel.com>master
parent
73dbda09c6
commit
fe9d76ddf3
|
@ -1548,7 +1548,7 @@ void display_freespace(char *testdirpath)
|
|||
strcpy(dirpath, ".");
|
||||
}
|
||||
|
||||
if (strcasecmp(param.api, "DFS") == 0)
|
||||
if (param.api && strcasecmp(param.api, "DFS") == 0)
|
||||
return;
|
||||
|
||||
VERBOSE(3,5,"Before show_file_system_size, dirpath is '%s'", dirpath );
|
||||
|
|
Loading…
Reference in New Issue