summary refs log tree commit diff
path: root/clients/cli/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/cli/utils.c')
-rw-r--r--clients/cli/utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/clients/cli/utils.c b/clients/cli/utils.c
index a406eee4..ff98276a 100644
--- a/clients/cli/utils.c
+++ b/clients/cli/utils.c
@@ -17,8 +17,6 @@
  * Copyright 2010 - 2015 Red Hat, Inc.
  */
 
-/* Generated configuration file */
-
 #include "nm-default.h"
 
 #include <stdio.h>
@@ -1005,7 +1003,7 @@ colorize_string (NmCli *nmc,
 
 	if (   use_colors (nmc)
 	    && (color != NMC_TERM_COLOR_NORMAL || color_fmt != NMC_TERM_FORMAT_NORMAL)) {
-		out = nmc_colorize (nmc, color, color_fmt, str);
+		out = nmc_colorize (nmc, color, color_fmt, "%s", str);
 		*dealloc = TRUE;
 	} else {
 		out = (char *) str;