This commit is contained in:
Seven Du
2013-08-28 16:23:10 +08:00
parent 7c5b5ce8a4
commit 4d2272ca3d
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ int
psf_fclose (SF_PRIVATE *psf)
{ int retval ;
if (psf->filedes =- -1)
if (psf->filedes == -1)
return -1; /* already closed */
if (psf->virtual_io)