about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-29 17:13:56 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-29 17:13:56 +0000
commit9031847df28b108a2c83da24e7465d63ee586595 (patch)
treedcc4ccf0fa5abe1223a25d668e231fb7a8ea9433
parentea3e6a3a65a176a77f829e82939a13d15a1264dc (diff)
downloadglibc-9031847df28b108a2c83da24e7465d63ee586595.tar.gz
glibc-9031847df28b108a2c83da24e7465d63ee586595.tar.xz
glibc-9031847df28b108a2c83da24e7465d63ee586595.zip
Update.
	* sysdeps/i386/bits/string.h (__memset_cc): Fix typo in last patch.
-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: