enable_client_specific_tag(): Fix format specifier in a log message
authorFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 12:48:12 +0000 (14:48 +0200)
committerFabian Keil <fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000 (16:35 +0200)
client-tags.c

index 23eb39f..a8cb696 100644 (file)
@@ -568,7 +568,7 @@ jb_err enable_client_specific_tag(struct client_state *csp,
    {
       add_tag_for_client(csp->client_address, tag_name, time_to_live);
       log_error(LOG_LEVEL_INFO,
-         "Tag '%s' enabled for client '%s'. TTL: %d.",
+         "Tag '%s' enabled for client '%s'. TTL: %ld.",
          tag->name, csp->client_address, time_to_live);
    }