We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 773cad6 commit 54c8419Copy full SHA for 54c8419
opal/mca/btl/vader/btl_vader_component.c
@@ -16,7 +16,7 @@
16
* All rights reserved.
17
* Copyright (c) 2011 NVIDIA Corporation. All rights reserved.
18
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
19
- * Copyright (c) 2014 Research Organization for Information Science
+ * Copyright (c) 2014-2016 Research Organization for Information Science
20
* and Technology (RIST). All rights reserved.
21
* $COPYRIGHT$
22
*
@@ -377,7 +377,7 @@ static void mca_btl_vader_check_single_copy (void)
377
378
/* check system setting for current ptrace scope */
379
fd = open ("/proc/sys/kernel/yama/ptrace_scope", O_RDONLY);
380
- if (0 < fd) {
+ if (0 <= fd) {
381
read (fd, &buffer, 1);
382
close (fd);
383
}
0 commit comments