diff options
author | Kay Sievers <kay@vrfy.org> | 2013-02-03 18:51:37 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-02-03 18:51:37 +0100 |
commit | e1666a23ca23151c87a26354f40915b9656ba308 (patch) | |
tree | 762c74667fd30141ceba8f603ff4f81e7d347024 | |
parent | fd75441984b1db3139819c8bb26bb0f21d8110f0 (diff) |
use correct variable in str_verscmp()
-rw-r--r-- | gummiboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gummiboot.c b/gummiboot.c index d26b8e2..446c2c3 100644 --- a/gummiboot.c +++ b/gummiboot.c @@ -938,7 +938,7 @@ static INTN str_verscmp(CHAR16 *s1, CHAR16 *s2) while (*s1 || *s2) { INTN first; - while ((*s2 && !is_digit(*s1)) || (*s2 && !is_digit(*s2))) { + while ((*s1 && !is_digit(*s1)) || (*s2 && !is_digit(*s2))) { INTN order; order = c_order(*s1) - c_order(*s2); |