Skip to content

Commit 538dea3

Browse files
committed
terminate string
Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
1 parent fc062b8 commit 538dea3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parsec/interfaces/ptg/ptg-compiler/jdf_unparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ static int jdf_call_unparse(const jdf_call_t *call, FILE *out)
234234
static int jdf_datatransfer_type_unparse(jdf_datatransfer_type_t dt, FILE *out)
235235
{
236236
int err = 0;
237-
char start[1] = "[";
237+
char start[2] = "[";
238238

239239
if( (JDF_STRING == dt.type->op) || (JDF_VAR == dt.type->op) ) {
240240
if( strcmp(dt.type->jdf_var, "DEFAULT") ) {

0 commit comments

Comments
 (0)