about summary refs log tree commit diff
path: root/stdio-common/vfscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/vfscanf.c')
-rw-r--r--stdio-common/vfscanf.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index d2302dd9a2..1b6dc6537d 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -85,11 +85,6 @@
 			  __libc_cleanup_end (0);			      \
 			  return EOF;					      \
 			} while (0)
-# define fmt_error()	do {						      \
-			  _IO_funlockfile (s);				      \
-			  __libc_cleanup_end (0);			      \
-			  return EOF;					      \
-			} while (0)
 # define ARGCHECK(s, format)						      \
   do									      \
     {									      \
@@ -134,10 +129,6 @@
 			  __set_errno (ENOMEM);				      \
 			  return EOF;					      \
 			} while (0)
-# define fmt_error()	do {						      \
-			  funlockfile (s);				      \
-			  return EOF;					      \
-			} while (0)
 # define ARGCHECK(s, format)						      \
   do									      \
     {									      \
@@ -1259,7 +1250,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
 
 	default:
 	  /* If this is an unknown format character punt.  */
-	  fmt_error ();
+	  conv_error ();
 	}
     }