projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/boot: Standardize strcmp()
[deliverable/linux.git]
/
arch
/
x86
/
boot
/
string.c
diff --git
a/arch/x86/boot/string.c
b/arch/x86/boot/string.c
index 493f3fd9f1391815c29e06c2163f3225b4e52063..318b8465d30204cad7006bf0889672e0da093aed 100644
(file)
--- a/
arch/x86/boot/string.c
+++ b/
arch/x86/boot/string.c
@@
-30,7
+30,7
@@
int strcmp(const char *str1, const char *str2)
int delta = 0;
while (*s1 || *s2) {
- delta = *s
2 - *s1
;
+ delta = *s
1 - *s2
;
if (delta)
return delta;
s1++;
This page took
0.027214 seconds
and
5
git commands to generate.