Commit 76f4c56e authored by Junchao Zhang's avatar Junchao Zhang
Browse files

Increase buffer size to cover longer cvar strings


Signed-off-by: Sangmin Seo's avatarSangmin Seo <sseo@anl.gov>
parent 4efc8b2e
......@@ -112,7 +112,7 @@ int PrintControlVars( FILE *fp )
{
int i, num_cvar, nameLen, verbosity, descLen, binding, scope;
int hasValue;
char name[MAX_NAME_LEN], desc[MAX_DESC_LEN], varValue[21];
char name[MAX_NAME_LEN], desc[MAX_DESC_LEN], varValue[512];
MPI_T_enum enumtype;
MPI_Datatype datatype;
......@@ -166,7 +166,7 @@ int PrintPerfVars( FILE *fp )
{
int i, numPvar, nameLen, descLen, verbosity, varClass;
int binding, isReadonly, isContinuous, isAtomic;
char name[MAX_NAME_LEN], desc[MAX_DESC_LEN], varValue[21];
char name[MAX_NAME_LEN], desc[MAX_DESC_LEN], varValue[512];
MPI_T_enum enumtype;
MPI_Datatype datatype;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment