Fix compiler warning/error on set_process_info(sprintf())
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 3 Jun 2016 15:32:55 +0000 (17:32 +0200)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Fri, 3 Jun 2016 15:34:12 +0000 (17:34 +0200)
src/src/exim.c

index 08ceab7e130925cae3e8aa8b370e596333312666..01770df7338354f74b628d96b310e4ec0a234629 100644 (file)
@@ -4683,8 +4683,7 @@ if (queue_interval == 0 && !daemon_listen)
     (stop_queue_run_id == NULL)?  US"" : US" stopping at ",
     (stop_queue_run_id == NULL)?  US"" : stop_queue_run_id);
   if (*queue_name)
-    set_process_info(CS string_sprintf(
-      "running the '%s' queue (single queue run)", queue_name));
+    set_process_info("running the '%s' queue (single queue run)", queue_name);
   else
     set_process_info("running the queue (single queue run)");
   queue_run(start_queue_run_id, stop_queue_run_id, FALSE);