summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-07-22 11:19:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:58 -0500
commitab4f3a663ba0aa1292a447cdd22be4ecc4ac29c5 (patch)
tree2df76727b1fc27c51f8be8a7110f118f2aeb50f7 /source4/dsdb
parenta33c02612ad12b27ba2da1d3b9be0fb9bb339367 (diff)
downloadsamba-ab4f3a663ba0aa1292a447cdd22be4ecc4ac29c5.tar.gz
samba-ab4f3a663ba0aa1292a447cdd22be4ecc4ac29c5.tar.bz2
samba-ab4f3a663ba0aa1292a447cdd22be4ecc4ac29c5.zip
r8714: Oops - get it right this time!
(This used to be commit 1d2b708da657a3f3c81bb60600f66bc359c2eab7)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/samdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c
index 7811ca1965..68ece6c51d 100644
--- a/source4/dsdb/samdb/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
@@ -852,7 +852,7 @@ int samdb_msg_add_uint(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct
int samdb_msg_add_int64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg,
const char *attr_name, int64_t v)
{
- const char *s = talloc_asprintf(mem_ctx, "%PRIi64", v);
+ const char *s = talloc_asprintf(mem_ctx, "%"PRIi64, v);
return samdb_msg_add_string(sam_ldb, mem_ctx, msg, attr_name, s);
}
@@ -862,7 +862,7 @@ int samdb_msg_add_int64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct
int samdb_msg_add_uint64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg,
const char *attr_name, uint64_t v)
{
- const char *s = talloc_asprintf(mem_ctx, "%PRIu64", v);
+ const char *s = talloc_asprintf(mem_ctx, "%"PRIu64, v);
return samdb_msg_add_string(sam_ldb, mem_ctx, msg, attr_name, s);
}