Make size in stat.h be a uint64

Supporting print long using %l (a bit of cheat)
Modify ls to print size using %l
We should probably update size in inode too.
This commit is contained in:
Frans Kaashoek 2019-07-04 08:54:23 -04:00
parent 6bfb078b14
commit fab5e7c1de
3 changed files with 5 additions and 3 deletions

View file

@ -3,9 +3,9 @@
#define T_DEVICE 3 // Device
struct stat {
short type; // Type of file
int dev; // File system's disk device
uint ino; // Inode number
short type; // Type of file
short nlink; // Number of links to file
uint size; // Size of file in bytes
uint64 size; // Size of file in bytes
};