The branch, master has been updated via 20b5e6465938ee81e4d0657f8dd493ff97ec53aa (commit) from fcb2e8904e27c8ab4904d8cd2172adb9081cfa6d (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 20b5e6465938ee81e4d0657f8dd493ff97ec53aa Author: Derrell Lipman <derrell.lip...@unwireduniverse.com> Date: Sat Feb 14 12:27:40 2009 -0500 The f_fsid field is not always an integer type. Don't set it in that case. ----------------------------------------------------------------------- Summary of changes: source3/libsmb/libsmb_stat.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c index 3eec15f..dbe9f37 100644 --- a/source3/libsmb/libsmb_stat.c +++ b/source3/libsmb/libsmb_stat.c @@ -441,9 +441,14 @@ SMBC_fstatvfs_ctx(SMBCCTX *context, (fsfilcnt_t) total_file_nodes; st->f_ffree = (fsfilcnt_t) free_file_nodes; +#if HAVE_FSID_INT st->f_fsid = (unsigned long) fs_identifier; +#else +#warning "f_fsid is not an integer type so is not available" + /* We don't know the type, so don't try to set it */ +#endif } } -- Samba Shared Repository