summaryrefslogtreecommitdiff
path: root/tdb/tdb.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-10-13 23:26:05 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:58:15 -0700
commitb51a038ca59d50fb089fd92addaf815994e6d3e7 (patch)
tree7d5cae4ea3a27d0d3a8700a2644391ccf99e7ed9 /tdb/tdb.c
parent8dc0e1382d5a0103e169b95b583e4b03b9080161 (diff)
[PATCH] fix compilation warning in tdb log message.
Diffstat (limited to 'tdb/tdb.c')
-rw-r--r--tdb/tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdb/tdb.c b/tdb/tdb.c
index 4cc1e07024..af475bb7ad 100644
--- a/tdb/tdb.c
+++ b/tdb/tdb.c
@@ -1831,8 +1831,8 @@ TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
/* Is it already in the open list? If so, fail. */
if (tdb_already_open(st.st_dev, st.st_ino)) {
TDB_LOG((tdb, 2, "tdb_open_ex: "
- "%s (%d:%d,%ld) is already open in this process\n",
- name, major(st.st_dev), minor(st.st_dev), st.st_ino));
+ "%s (%d:%d,%lld) is already open in this process\n",
+ name, major(st.st_dev), minor(st.st_dev), (unsigned long long)st.st_ino));
errno = EBUSY;
goto fail;
}