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" diff --git a/scripts/functions b/scripts/functions index 09ccf15..fe2b93f 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 v0.10.2-6-g49f6