The Samba-Bugzilla – Attachment 13984 Details for
Bug 13305
vfs_fileid: Fix the 32-bit build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.8 cherry-picked from master
bug13305-v48.patch (text/plain), 1.07 KB, created by
Ralph Böhme
on 2018-02-27 09:43:14 UTC
(
hide
)
Description:
Patch for 4.8 cherry-picked from master
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2018-02-27 09:43:14 UTC
Size:
1.07 KB
patch
obsolete
>From 634efc0ffc520594671b32853b097b6e2aa1e1ce Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 19 Jan 2018 12:15:58 +0000 >Subject: [PATCH] vfs_fileid: Fix the 32-bit build > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13305 > >Signed-off-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> >(cherry picked from commit c6999a248ad78f75cbfcc0f461298021b20905b4) >--- > source3/modules/vfs_fileid.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source3/modules/vfs_fileid.c b/source3/modules/vfs_fileid.c >index c890876c998..5d08fe97d15 100644 >--- a/source3/modules/vfs_fileid.c >+++ b/source3/modules/vfs_fileid.c >@@ -226,8 +226,8 @@ static uint64_t fileid_device_mapping_hostname(struct fileid_handle_data *data, > return UINT64_MAX; > } > >- devname = talloc_asprintf(talloc_tos(), "%s%lu", >- hostname, sbuf->st_ex_dev); >+ devname = talloc_asprintf(talloc_tos(), "%s%ju", >+ hostname, (uintmax_t)sbuf->st_ex_dev); > if (devname == NULL) { > DBG_ERR("talloc_asprintf failed\n"); > return UINT64_MAX; >-- >2.13.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 13305
: 13984