diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-01 20:52:33 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-09 18:59:19 +0100 |
commit | bc675aa391ef29a04d841778771fef1fb737cde4 (patch) | |
tree | 339f56e15757b88aa454ae07301317c5eac78b9d | |
parent | b2c183133767b5c761e982558bddd2d676f9f84f (diff) | |
download | samba-bc675aa391ef29a04d841778771fef1fb737cde4.tar.gz samba-bc675aa391ef29a04d841778771fef1fb737cde4.tar.bz2 samba-bc675aa391ef29a04d841778771fef1fb737cde4.zip |
ldb:ldbedit tool - use "%u" for printing out unsigned integers
-rw-r--r-- | source4/lib/ldb/tools/ldbedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/ldbedit.c b/source4/lib/ldb/tools/ldbedit.c index 4f654af2be..23e8150b0e 100644 --- a/source4/lib/ldb/tools/ldbedit.c +++ b/source4/lib/ldb/tools/ldbedit.c @@ -190,11 +190,11 @@ static int save_ldif(struct ldb_context *ldb, { unsigned int i; - fprintf(f, "# editing %d records\n", count); + fprintf(f, "# editing %u records\n", count); for (i=0;i<count;i++) { struct ldb_ldif ldif; - fprintf(f, "# record %d\n", i+1); + fprintf(f, "# record %u\n", i+1); ldif.changetype = LDB_CHANGETYPE_NONE; ldif.msg = msgs[i]; |