Fix debug print warning message.
authorJeremy Allison <jra@samba.org>
Mon, 23 Jul 2012 20:21:25 +0000 (13:21 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 23 Jul 2012 22:09:46 +0000 (00:09 +0200)
source4/ldap_server/ldap_backend.c

index 000d7e28f8144b2baf4c7983f8ab1a1950c66507..f415e9bf62a8c2dfebb6a2467ea611d6f8aefa67 100644 (file)
@@ -1205,7 +1205,9 @@ NTSTATUS ldapsrv_do_call(struct ldapsrv_call *call)
        if (NT_STATUS_IS_OK(status)) {
                lastts = (time_t *)ldb_get_opaque(samdb, DSDB_OPAQUE_LAST_SCHEMA_UPDATE_MSG_OPAQUE_NAME);
                if (lastts && !*lastts) {
-                       DEBUG(10, ("Schema update now was requested, fullfilling the request ts = %d\n", lastts));
+                       DEBUG(10, ("Schema update now was requested, "
+                               "fullfilling the request ts = %d\n",
+                               (int)*lastts));
                        /*
                        * Just requesting the schema will do the trick
                        * as the delay for reload is experied, we will have a reload