edge.strict_endians
flatcap 2005-06-20 14:23:50 +00:00
parent 086fd4cc0c
commit 09936e5c22
2 changed files with 8 additions and 6 deletions

View File

@ -70,7 +70,8 @@ static int ntfs_collate_ntofs_ulong(ntfs_volume *vol __attribute__((unused)),
static int ntfs_collate_file_name(ntfs_volume *vol,
const void *data1, const int data1_len __attribute__((unused)),
const void *data2, const int data2_len __attribute__((unused))){
const void *data2, const int data2_len __attribute__((unused)))
{
int rc;
const FILE_NAME_ATTR *fn1, *fn2;
@ -127,7 +128,8 @@ static ntfs_collate_func_t ntfs_do_collate0x1[4] = {
*/
int ntfs_collate(ntfs_volume *vol, COLLATION_RULES cr,
const void *data1, const int data1_len,
const void *data2, const int data2_len) {
const void *data2, const int data2_len)
{
int i;
ntfs_debug("Entering.");

View File

@ -1638,7 +1638,7 @@ int ntfs_rl_sparse(runlist *rl)
runlist *rlc;
if (!rl) {
Dprintf("%s(): Ivalid argument passed.\n", __FUNCTION__);
Dprintf("%s(): Invalid argument passed.\n", __FUNCTION__);
errno = EINVAL;
return -1;
}
@ -1646,7 +1646,7 @@ int ntfs_rl_sparse(runlist *rl)
for (rlc = rl; rlc->length; rlc++)
if (rlc->lcn < 0) {
if (rlc->lcn != LCN_HOLE) {
Dprintf("%s(): Recevied unmapped runlist.\n",
Dprintf("%s(): Received unmapped runlist.\n",
__FUNCTION__);
errno = EINVAL;
return -1;
@ -1669,7 +1669,7 @@ s64 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl)
s64 ret = 0;
if (!rl) {
Dprintf("%s(): Ivalid argument passed.\n", __FUNCTION__);
Dprintf("%s(): Invalid argument passed.\n", __FUNCTION__);
errno = EINVAL;
return -1;
}
@ -1677,7 +1677,7 @@ s64 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl)
for (rlc = rl; rlc->length; rlc++) {
if (rlc->lcn < 0) {
if (rlc->lcn != LCN_HOLE) {
Dprintf("%s(): Recevied unmapped runlist.\n",
Dprintf("%s(): Received unmapped runlist.\n",
__FUNCTION__);
errno = EINVAL;
return -1;