Code

test-lib: fix broken printf
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Oct 2008 20:13:59 +0000 (13:13 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Oct 2008 20:13:59 +0000 (13:13 -0700)
b8eecafd888d219633f4c29e8b6a90fc21a46dfd introduced usage of
printf without a format string.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
t/test-lib.sh

index 35698361bac232412d51f2b64c45c7ab5a5041d2..689ac2f4b4eb45ee5f45f74e4c5d13c3e7c17e84 100644 (file)
@@ -112,7 +112,7 @@ if test -n "$color"; then
                        *) test -n "$quiet" && return;;
                esac
                shift
-               printf "* $*"
+               printf "* %s" "$*"
                tput sgr0
                echo
                )