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~4 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=6234e356393c87ad9aa132143c47be190ef9bac7;p=palacios.git fixing the error in geekos' memcmp implementation --- diff --git a/palacios/src/common/string.c b/palacios/src/common/string.c index 7415067..e6eac68 100644 --- a/palacios/src/common/string.c +++ b/palacios/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;