From: Alex Richardson Date: Wed, 8 Sep 2021 13:42:25 +0000 (+0100) Subject: vfs_preopen.c: Fix -Wformat error on macOS X-Git-Tag: ldb-2.5.0~479 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ee7f3d89cce9b07b8ed3f55f7e8e67baed6ee1;p=thirdparty%2Fsamba.git vfs_preopen.c: Fix -Wformat error on macOS BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862 Signed-off-by: Alex Richardson Reviewed-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index ab0080c69f3..8d85dda92ec 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -642,7 +642,7 @@ static int preopen_openat(struct vfs_handle_struct *handle, new_end = new_start + new_digits; DBG_PREFIX(state->founddigits_dbglvl, ( - "Pattern(idx=%zd) found num_digits[%d] start_offset[%zd] parsed_num[%lu] fullpath[%s]\n", + "Pattern(idx=%zd) found num_digits[%d] start_offset[%zd] parsed_num[%"PRIu64"] fullpath[%s]\n", match_idx, new_digits, new_start, num, new_template)); if (state->last_match_idx != match_idx) {