Fixed errno when could not write to $SDS

N2009_11_14_FIXES
jpandre 2007-10-17 12:20:22 +00:00
parent 5f914d0492
commit 764dced1f1
1 changed files with 3 additions and 2 deletions

View File

@ -837,9 +837,10 @@ static int entersecurity_data(ntfs_volume *vol,
&& (written2 == written1))
res = 0;
else
errno = ENOMEM;
errno = ENOSPC;
free(fullattr);
}
} else
errno = ENOMEM;
return (res);
}