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 3569836..689ac2f 100644 (file)
@@ -112,7 +112,7 @@ if test -n "$color"; then
                        *) test -n "$quiet" && return;;
                esac
                shift
-               printf "* $*"
+               printf "* %s" "$*"
                tput sgr0
                echo
                )