X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Fsetvbuf.c;h=b07d87e3f847e32de5927b260f7c818a62571f0a;hp=d8470fc0edff1d91fcda0f9fc23b759b7045048d;hb=b5b6c4a890795ea76f9b92b817b0a83c6bb4862c;hpb=aa8b812cace09efe5e21f191761a5258b266b87b diff --git a/functions/stdio/setvbuf.c b/functions/stdio/setvbuf.c index d8470fc..b07d87e 100644 --- a/functions/stdio/setvbuf.c +++ b/functions/stdio/setvbuf.c @@ -15,7 +15,7 @@ int setvbuf( FILE * _PDCLIB_restrict stream, char * _PDCLIB_restrict buf, int mode, size_t size ) { - _PDCLIB_lockfile( stream ); + _PDCLIB_flockfile( stream ); switch ( mode ) { case _IONBF: