Skip to contentSkip to conversation

dtc: Fix silly typo in dtc-checkfails.sh

PATCH David Gibson 1 participant 1 message Dec 7, 2007

lore
Share & tools
lore
#0 lore raw

Too much C coding makes for dumb errors in shell.

tests/dtc-checkfails.sh +1 -1
Index: dtc/tests/dtc-checkfails.sh
===================================================================
@@ -23,7 +23,7 @@ fi
 
 for c in $CHECKS; do
     if ! grep -E "^(ERROR)|(Warning) \($c\):" $LOG > /dev/null; then
-	FAIL "Failed to trigger check \"%c\""
+	FAIL "Failed to trigger check \"$c\""
     fi
 done
 
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson