diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/libsmbclient/testfstatvfs.c | 2 | ||||
-rw-r--r-- | examples/libsmbclient/teststatvfs.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/libsmbclient/testfstatvfs.c b/examples/libsmbclient/testfstatvfs.c index 24424045d4..512563f3e6 100644 --- a/examples/libsmbclient/testfstatvfs.c +++ b/examples/libsmbclient/testfstatvfs.c @@ -86,8 +86,10 @@ int main(int argc, char * argv[]) (unsigned long long) statvfsbuf.f_ffree); printf("Available Files: %llu\n", (unsigned long long) statvfsbuf.f_favail); +#ifdef HAVE_FSID_INT printf("File System ID: %lu\n", (unsigned long) statvfsbuf.f_fsid); +#endif printf("\n"); printf("Flags: 0x%lx\n", statvfsbuf.f_flag); diff --git a/examples/libsmbclient/teststatvfs.c b/examples/libsmbclient/teststatvfs.c index 5c69122afc..2f656d5e64 100644 --- a/examples/libsmbclient/teststatvfs.c +++ b/examples/libsmbclient/teststatvfs.c @@ -58,8 +58,10 @@ int main(int argc, char * argv[]) (unsigned long long) statvfsbuf.f_ffree); printf("Available Files: %llu\n", (unsigned long long) statvfsbuf.f_favail); +#ifdef HAVE_FSID_INT printf("File System ID: %lu\n", (unsigned long) statvfsbuf.f_fsid); +#endif printf("\n"); printf("Flags: 0x%lx\n", statvfsbuf.f_flag); |