aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/vfscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/vfscanf.c')
-rw-r--r--stdio-common/vfscanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index 8a799acf78..46f0658ef1 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -313,7 +313,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
flags |= SHORT;
break;
case 'l':
- if (flags & SHORT)
+ if (flags & (SHORT|LONGDBL))
conv_error ();
else if (flags & LONG)
{