[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Tue Nov 20 08:07:02 MST 2012


The branch, master has been updated
       via  f0c8c85 examples: fix build on AIX6
      from  1fb8f8c build(waf): fix a typo

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f0c8c8518b2f25eb9e666229c37e191fa1700d0d
Author: Christian Ambach <ambi at samba.org>
Date:   Tue Nov 20 09:50:15 2012 +0100

    examples: fix build on AIX6
    
    Signed-off-by: Christian Ambach <ambi at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Tue Nov 20 16:06:59 CET 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 examples/libsmbclient/testfstatvfs.c |    2 ++
 examples/libsmbclient/teststatvfs.c  |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/examples/libsmbclient/testfstatvfs.c b/examples/libsmbclient/testfstatvfs.c
index 2442404..512563f 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 5c69122..2f656d5 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);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list