mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
getblocksize expects pointer to long as a second argument, not
a pointer to u_long.
This commit is contained in:
parent
2c77eccba4
commit
2897dce81d
1 changed files with 2 additions and 2 deletions
|
|
@ -384,7 +384,7 @@ fsbtoblk(int64_t num, uint64_t fsbs, u_long bs)
|
|||
static void
|
||||
prtstat(struct statfs *sfsp, struct maxwidths *mwp)
|
||||
{
|
||||
static u_long blocksize;
|
||||
static long blocksize;
|
||||
static int headerlen, timesthrough = 0;
|
||||
static const char *header;
|
||||
int64_t used, availblks, inodes;
|
||||
|
|
@ -461,7 +461,7 @@ addstat(struct statfs *totalfsp, struct statfs *statfsp)
|
|||
static void
|
||||
update_maxwidths(struct maxwidths *mwp, const struct statfs *sfsp)
|
||||
{
|
||||
static u_long blocksize = 0;
|
||||
static long blocksize = 0;
|
||||
int dummy;
|
||||
|
||||
if (blocksize == 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue