s3: Fix a 64-bit warning
authorVolker Lendecke <vl@samba.org>
Sun, 25 Dec 2011 10:35:07 +0000 (11:35 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 25 Dec 2011 12:31:58 +0000 (13:31 +0100)
source3/locking/locking.c

index 45c2ce9f4076fb5086eed3ac39555d50f4af3ddd..0c457b7a33dd444e211dfe83a1e26220fe230a7a 100644 (file)
@@ -497,7 +497,7 @@ char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e)
 {
        return talloc_asprintf(ctx, "share_mode_entry[%d]: "
                 "pid = %s, share_access = 0x%x, private_options = 0x%x, "
-                "access_mask = 0x%x, mid = 0x%llx, type= 0x%x, gen_id = %lu, "
+                "access_mask = 0x%x, mid = 0x%llx, type= 0x%x, gen_id = %llu, "
                 "uid = %u, flags = %u, file_id %s, name_hash = 0x%x",
                 num,
                 procid_str_static(&e->pid),