...I'm not fully sure what's the intention here, ie., whether
the return belongs to a block with the assignment or not.
Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]>
---
arch/um/os-Linux/sys-i386/tls.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/um/os-Linux/sys-i386/tls.c b/arch/um/os-Linux/sys-i386/tls.c
index 32ed41e..2a1412d 100644
--- a/arch/um/os-Linux/sys-i386/tls.c
+++ b/arch/um/os-Linux/sys-i386/tls.c
@@ -24,11 +24,12 @@ void check_host_supports_tls(int *supports_tls, int
*tls_min) {
*supports_tls = 1;
return;
} else {
- if (errno == EINVAL)
+ if (errno == EINVAL) {
continue;
- else if (errno == ENOSYS)
+ } else if (errno == ENOSYS) {
*supports_tls = 0;
return;
+ }
}
}
--
1.5.2.2
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel