Skip to content

Commit b3558f2

Browse files
committed
opal/util: initialize proc_hostname in the opal_proc_t constructor
Refs #4264 Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent f44e674 commit b3558f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/util/proc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* reserved.
66
* Copyright (c) 2013 Inria. All rights reserved.
77
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
8-
* Copyright (c) 2014-2016 Research Organization for Information Science
8+
* Copyright (c) 2014-2017 Research Organization for Information Science
99
* and Technology (RIST). All rights reserved.
1010
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
1111
* reserved.
@@ -50,6 +50,7 @@ static void opal_proc_construct(opal_proc_t* proc)
5050
proc->proc_convertor = NULL;
5151
proc->proc_flags = 0;
5252
proc->proc_name = *OPAL_NAME_INVALID;
53+
proc->proc_hostname = NULL;
5354
}
5455

5556
static void opal_proc_destruct(opal_proc_t* proc)

0 commit comments

Comments
 (0)