X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Fstrstr.c;h=e31e20ddd4e9379075bdace575066e884ef46c17;hb=c8b04c614770870d75825c19bcd4729cc779b84a;hp=fbe7cfb121c593f1d6426e014bca01f3d76d1716;hpb=f4ebbd9f7ea23e3f0fcbe098754580c220894628;p=yaboot.git diff --git a/lib/strstr.c b/lib/strstr.c index fbe7cfb..e31e20d 100644 --- a/lib/strstr.c +++ b/lib/strstr.c @@ -76,7 +76,8 @@ strstr (phaystack, pneedle) a = *++haystack; if (a == '\0') goto ret0; -shloop: } +shloop: ; + } while (a != b); jin: a = *++haystack;