diff options
-rw-r--r-- | source3/libsmb/libsmb_stat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c index dbe9f374cc..8987c2e38b 100644 --- a/source3/libsmb/libsmb_stat.c +++ b/source3/libsmb/libsmb_stat.c @@ -398,8 +398,12 @@ SMBC_fstatvfs_ctx(SMBCCTX *context, /* ... then provide it */ st->f_bsize = (unsigned long) bytes_per_sector; +#if HAVE_FRSIZE st->f_frsize = (unsigned long) sectors_per_allocation_unit; +#else +#warning "f_frsize field is not available" +#endif st->f_blocks = (fsblkcnt_t) total_allocation_units; st->f_bfree = |