X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fvfscanf.c;h=d70f5d5c92bbfcec9069412d4f12c0c1c09b2291;hb=c5c4350d2beb1ebe93f3f6d45643a64eed2a7c7a;hp=eeae09eec4cde33a69a1b55f6fb607fdfae6c2c1;hpb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;p=pdclib diff --git a/functions/stdio/vfscanf.c b/functions/stdio/vfscanf.c index eeae09e..d70f5d5 100644 --- a/functions/stdio/vfscanf.c +++ b/functions/stdio/vfscanf.c @@ -21,7 +21,7 @@ int vfscanf( FILE * _PDCLIB_restrict stream, const char * _PDCLIB_restrict forma status.current = 0; status.s = NULL; status.width = 0; - status.prec = 0; + status.prec = EOF; status.stream = stream; va_copy( status.arg, arg ); @@ -110,4 +110,3 @@ int main( void ) } #endif -