[Samba] samba 4.0.9 Build Error
Thomas Zeitinger
thomas.zeitinger at it2.at
Thu Sep 26 11:13:33 MDT 2013
Hi Volker,
thanks for the patch! Is working :-)
https://bugzilla.samba.org/show_bug.cgi?id=10169
Best regards
Tom
On 2013-09-25 15:26, Volker Lendecke wrote:
> From a075eb64952d58749660a87049bb7e3d326c5968 Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <vl at samba.org>
> Date: Wed, 25 Sep 2013 06:24:19 -0700
> Subject: [PATCH] smbd: Fix a 64-bit warning
>
> ---
> source3/smbd/scavenger.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/source3/smbd/scavenger.c b/source3/smbd/scavenger.c
> index fe4e56e..0ca18c8 100644
> --- a/source3/smbd/scavenger.c
> +++ b/source3/smbd/scavenger.c
> @@ -480,16 +480,16 @@ static void scavenger_timer(struct tevent_context *ev,
> ctx->msg.open_persistent_id);
> if (!ok) {
> DEBUG(2, ("Failed to cleanup share modes and byte range locks "
> - "for file %s open %lu\n",
> + "for file %s open %llu\n",
> file_id_string_tos(&ctx->msg.file_id),
> - ctx->msg.open_persistent_id));
> + (unsigned long long)ctx->msg.open_persistent_id));
> }
>
> status = smbXsrv_open_cleanup(ctx->msg.open_persistent_id);
> if (!NT_STATUS_IS_OK(status)) {
> - DEBUG(2, ("Failed to cleanup open global for file %s open %lu:"
> + DEBUG(2, ("Failed to cleanup open global for file %s open %llu:"
> " %s\n", file_id_string_tos(&ctx->msg.file_id),
> - ctx->msg.open_persistent_id, nt_errstr(status)));
> + (unsigned long long)ctx->msg.open_persistent_id, nt_errstr(status)));
> }
> }
--
Thomas Zeitinger
Kundenbetreuung
IT-Quadrat EDV Dienstleistungs- und Handels GmbH
Krongasse 8/2 A-1050 Wien
Tel: +43 (1) 311 44 00 - 10
Fax: +43 (1) 311 44 00 - 90
Thomas.Zeitinger at it2.at
www.it2.at
FN 287345t
UID ATU63123113
More information about the samba
mailing list