diff options
| author | Michael Biebl <biebl@debian.org> | 2016-08-26 02:18:32 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-08-26 02:18:32 +0200 |
| commit | 7514efc2f38c9ace4557d4e69d68e7d380389030 (patch) | |
| tree | 7fb00fda86cfcc2ca377f191633a7cfdbfea7ca3 /clients/cli/utils.c | |
| parent | d6201f5d8daada3d64a0a3e0038e14eebec683ce (diff) | |
Imported Upstream version 1.4.0 upstream/1.4.0
Diffstat (limited to 'clients/cli/utils.c')
| -rw-r--r-- | clients/cli/utils.c | 4 |
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; |