summary refs log tree commit diff
path: root/iconvdata/iso-2022-cn.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-06 16:59:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-06 16:59:49 +0000
commit1f20e04b473817b73bae88f39153cb410ec1eb8e (patch)
treedac12f3b4b50e00987ebf328b09d69a05d6cf0fd /iconvdata/iso-2022-cn.c
parent89301d683e7401cb7cfcb6ebc89be6593d4c809f (diff)
downloadglibc-1f20e04b473817b73bae88f39153cb410ec1eb8e.tar.gz
glibc-1f20e04b473817b73bae88f39153cb410ec1eb8e.tar.xz
glibc-1f20e04b473817b73bae88f39153cb410ec1eb8e.zip
Fix typo.
Diffstat (limited to 'iconvdata/iso-2022-cn.c')
-rw-r--r--iconvdata/iso-2022-cn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/iso-2022-cn.c b/iconvdata/iso-2022-cn.c
index 69f5e176e4..c224ee7eac 100644
--- a/iconvdata/iso-2022-cn.c
+++ b/iconvdata/iso-2022-cn.c
@@ -272,7 +272,7 @@ enum
 	  {								      \
 	    *outptr++ = SI;						      \
 	    set = ASCII_set;						      \
-	    if (NEED_LENGTH_TEST && __builtin_expet (outptr == outend, 0))    \
+	    if (NEED_LENGTH_TEST && __builtin_expect (outptr == outend, 0))   \
 	      {								      \
 		result = __GCONV_FULL_OUTPUT;				      \
 		break;							      \
@@ -319,7 +319,7 @@ enum
 		else							      \
 		  written = ucs4_to_gb2312 (ch, buf, 2);		      \
 									      \
-		if (__builin_expect (written, 0) != __UNKNOWN_10646_CHAR)     \
+		if (__builtin_expect (written, 0) != __UNKNOWN_10646_CHAR)    \
 		  /* Oh well, then switch SO.  */			      \
 		  used = GB2312_set + CNS11643_1_set - set;		      \
 		else							      \