about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/i386/bits/string.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b11b07dc56..e8a20a51ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1999-07-29  Ulrich Drepper  <drepper@cygnus.com>
 
+	* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
+
 	* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups): Correct size
 	argument in realloc call.
 	* nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups):
diff --git a/sysdeps/i386/bits/string.h b/sysdeps/i386/bits/string.h
index 5f4f58a6db..44d6f8ba43 100644
--- a/sysdeps/i386/bits/string.h
+++ b/sysdeps/i386/bits/string.h
@@ -207,7 +207,7 @@ __memset_cc (void *__s, unsigned long int __pattern, size_t __n)
       return __s;
     case 3:
       __u->__usi = __pattern;
-      __u = __extension__ ((void *) __u + 1);
+      __u = __extension__ ((void *) __u + 2);
       __u->__uc = __pattern;
       return __s;
     case 4: