diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fs.h b/include/fs.h index 68b6380bc6..aa23bcc228 100644 --- a/include/fs.h +++ b/include/fs.h @@ -46,7 +46,7 @@ struct fs_driver_d { int (*unlink)(struct device_d *dev, const char *pathname); /* Truncate a file to given size */ - int (*truncate)(struct device_d *dev, FILE *f, ulong size); + int (*truncate)(struct device_d *dev, FILE *f, loff_t size); int (*open)(struct device_d *dev, FILE *f, const char *pathname); int (*close)(struct device_d *dev, FILE *f); |