about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-20 23:34:20 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-20 23:34:20 +0000
commita53fdad94d983a4cc9303eff379ef5c71e3817c8 (patch)
tree08dd082e44ca18f1e59317f13f2c0b436c066a16 /stdio-common
parent13d9048a161a5d6c8768f061a70f954eb1220f8d (diff)
downloadglibc-a53fdad94d983a4cc9303eff379ef5c71e3817c8.tar.gz
glibc-a53fdad94d983a4cc9303eff379ef5c71e3817c8.tar.xz
glibc-a53fdad94d983a4cc9303eff379ef5c71e3817c8.zip
Update.
	* stdio-common/vfprintf.c (process_arg): Fix typo.

	* iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
	* math/libm-test.c (hypot_test): Fix a typo.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index ef9165e448..85558a1574 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -891,7 +891,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
 	    s2 = (const wchar_t *) string;				      \
 	    string = alloca (len + 1);					      \
 	    (void) __wcsrtombs (string, &s2, len + 1, &mbstate);	      \
-	    if (prec < min)						      \
+	    if (prec < len)						      \
 	      len = prec;						      \
 	  }								      \
 									      \