chiark / gitweb /
[PATCH] fix compilation warning in tdb log message.
authorgreg@kroah.com <greg@kroah.com>
Thu, 14 Oct 2004 06:26:05 +0000 (23:26 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:58:15 +0000 (21:58 -0700)
tdb/tdb.c

index 4cc1e070241790ae58df73a0a5d637e316c2a77c..af475bb7adee8ed65a15336c5f3016d9c2dd339c 100644 (file)
--- 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;
        }