From: Jack Lange Date: Wed, 8 Oct 2008 06:29:27 +0000 (-0500) Subject: fixing the error in geekos' memcmp implementation X-Git-Tag: 1.0~3^2~3 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=3bff2f7908ccd85b6a103a195ca48385139c07e6;hp=d2720fdaa2bb5588049e1fec7eb66960ca928b2d fixing the error in geekos' memcmp implementation --- diff --git a/geekos/src/common/string.c b/geekos/src/common/string.c index 41f4b8a..8f9ce12 100644 --- a/geekos/src/common/string.c +++ b/geekos/src/common/string.c @@ -65,6 +65,7 @@ int memcmp(const void *s1_, const void *s2_, size_t n) return cmp; ++s1; ++s2; + --n; } return 0;