Add the missing code to check a return code
Signed-off-by: Geoffroy Vallee <geoffroy.vallee@gmail.com> (cherry picked from commit de6f130b4a5b001ef85317fe3ebc2c8f8c8077e9) Signed-off-by: Geoffrey Paulsen <gpaulsen@us.ibm.com>
Этот коммит содержится в:
родитель
93c879962e
Коммит
a479beeeae
@ -14,6 +14,7 @@
|
|||||||
* Copyright (c) 2010-2015 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2010-2015 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2016 Intel, Inc. All rights reserved.
|
* Copyright (c) 2016 Intel, Inc. All rights reserved.
|
||||||
|
* Copyright (c) 2019 Sylabs, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -110,6 +111,9 @@ mmap_register(void)
|
|||||||
OPAL_INFO_LVL_3,
|
OPAL_INFO_LVL_3,
|
||||||
MCA_BASE_VAR_SCOPE_ALL_EQ,
|
MCA_BASE_VAR_SCOPE_ALL_EQ,
|
||||||
&mca_shmem_mmap_component.priority);
|
&mca_shmem_mmap_component.priority);
|
||||||
|
if (0 > ret) {
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Do we want the "warning: your mmap file is on NFS!" message? Per a
|
* Do we want the "warning: your mmap file is on NFS!" message? Per a
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user