mirror of
https://github.com/samba-team/samba.git
synced 2025-05-28 21:05:48 +03:00
s4: fixed some printf format errors
This commit is contained in:
parent
041c699f3a
commit
ce2004d631
@ -1197,7 +1197,7 @@ static int replmd_update_rpmd(struct ldb_module *module,
|
||||
if (*seq_num <= db_seq) {
|
||||
DEBUG(0,(__location__ ": changereplmetada control provided but max(local_usn)"\
|
||||
" is less or equal to uSNChanged (max = %lld uSNChanged = %lld)\n",
|
||||
*seq_num, db_seq));
|
||||
(long long)*seq_num, (long long)db_seq));
|
||||
return LDB_ERR_OPERATIONS_ERROR;
|
||||
}
|
||||
|
||||
|
@ -201,7 +201,7 @@ static struct ldb_message *reg_ldb_pack_value(struct ldb_context *ctx,
|
||||
char *conv_str;
|
||||
|
||||
conv_str = talloc_asprintf(msg, "0x%16.16llx",
|
||||
BVAL(data.data, 0));
|
||||
(unsigned long long)BVAL(data.data, 0));
|
||||
if (conv_str == NULL) {
|
||||
talloc_free(msg);
|
||||
return NULL;
|
||||
|
@ -45,7 +45,7 @@ _PUBLIC_ char *reg_val_data_string(TALLOC_CTX *mem_ctx, uint32_t type,
|
||||
case REG_QWORD:
|
||||
SMB_ASSERT(data.length == sizeof(uint64_t));
|
||||
ret = talloc_asprintf(mem_ctx, "0x%16.16llx",
|
||||
BVAL(data.data, 0));
|
||||
(unsigned long long)BVAL(data.data, 0));
|
||||
break;
|
||||
case REG_BINARY:
|
||||
ret = data_blob_hex_string_upper(mem_ctx, &data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user