]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typo.
authorUlrich Drepper <drepper@redhat.com>
Thu, 23 Sep 1999 18:51:53 +0000 (18:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 23 Sep 1999 18:51:53 +0000 (18:51 +0000)
stdio-common/vfscanf.c

index 72afbda3fd54fcc4e37f275ce7c73d0d458b46a6..bf9c4709c02821f3611caa3319d9e38a4dfd9dca 100644 (file)
@@ -1018,7 +1018,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
            {
              /* Maybe "inf" or "infinity".  */
              ADDW (c);
-             if (witdth == 0 || inchar () == EOF || _tolower (c) != 'n')
+             if (width == 0 || inchar () == EOF || _tolower (c) != 'n')
                input_error ();
              if (width > 0)
                --width;