]> granicus.if.org Git - pgbouncer/commitdiff
Use PRIu64 instead of llu as it seems not portable enough
authorMarko Kreen <markokr@gmail.com>
Wed, 29 Sep 2010 16:40:10 +0000 (09:40 -0700)
committerMarko Kreen <markokr@gmail.com>
Thu, 30 Sep 2010 05:06:57 +0000 (22:06 -0700)
lib
src/objects.c

diff --git a/lib b/lib
index 6c0a3841b5fa5c689318e84be65e0402533ef7d1..5018e6a3c396584f8ecdc187be927bdec1e098f6 160000 (submodule)
--- a/lib
+++ b/lib
@@ -1 +1 @@
-Subproject commit 6c0a3841b5fa5c689318e84be65e0402533ef7d1
+Subproject commit 5018e6a3c396584f8ecdc187be927bdec1e098f6
index c0caa47c072e8c4a0e7cf018eb620391199c8562..a23d17eccc7b82e32f8c142b54fd9a69f917080f 100644 (file)
@@ -711,7 +711,7 @@ void disconnect_server(PgSocket *server, bool notify, const char *reason, ...)
        reason = buf;
 
        if (cf_log_disconnections)
-               slog_info(server, "closing because: %s (age=%llu)", reason,
+               slog_info(server, "closing because: %s (age=%" PRIu64 ")", reason,
                          (now - server->connect_time) / USEC);
 
        switch (server->state) {
@@ -768,7 +768,7 @@ void disconnect_client(PgSocket *client, bool notify, const char *reason, ...)
        reason = buf;
 
        if (cf_log_disconnections)
-               slog_info(client, "closing because: %s (age=%llu)", reason,
+               slog_info(client, "closing because: %s (age=%" PRIu64 ")", reason,
                          (now - client->connect_time) / USEC);
 
        switch (client->state) {