From ae715a0a3caa3b97b4f66f7f23c63d2b490838c9 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 26 Aug 2010 23:36:54 +0200 Subject: scripts/log: do not interpret log string as printf format Signed-off-by: "Yann E. MORIN" --- scripts/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions b/scripts/functions index 09ccf154..fe2b93f4 100644 --- a/scripts/functions +++ b/scripts/functions @@ -79,7 +79,7 @@ CT_DoLog() { if [ $# -eq 0 ]; then cat - else - printf "${*}\n" + printf "%s\n" "${*}" fi |( IFS="${CR}" # We want the full lines, even leading spaces _prog_bar_cpt=0 _prog_bar[0]='/' -- cgit v1.2.3