Skip to content

Commit

Permalink
- Fix build with devkitPPC release 36.
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Apr 18, 2020
1 parent 7d612e8 commit cbd161f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cube/swiss/source/devices/ftp/ftp_devoptab.c
Original file line number Diff line number Diff line change
Expand Up @@ -2447,15 +2447,10 @@ static int dentry_to_stat(FTPDIRENTRY *dentry, struct stat *st)
st->st_gid = 2; // Faked
st->st_size = dentry->size;
st->st_atime = 0;
st->st_spare1 = 0;
st->st_mtime = 0;
st->st_spare2 = 0;
st->st_ctime = 0;
st->st_spare3 = 0;
st->st_blksize = 1024;
st->st_blocks = (st->st_size + st->st_blksize - 1) / st->st_blksize; // File size in blocks
st->st_spare4[0] = 0;
st->st_spare4[1] = 0;

return 0;
}
Expand Down

0 comments on commit cbd161f

Please sign in to comment.