]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_preopen.c: Fix -Wformat error on macOS
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 8 Sep 2021 13:42:25 +0000 (14:42 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 13 Oct 2021 01:42:35 +0000 (01:42 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_preopen.c

index ab0080c69f31e0cbac0ced0856bcfca41b86716a..8d85dda92ecdedcea7a137f4571c23d10ea6ef8a 100644 (file)
@@ -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) {