Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> --- smatch_scripts/kchecker | 8 ++++---- smatch_scripts/wine_checker.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/smatch_scripts/kchecker b/smatch_scripts/kchecker index 3ebab45..080e22b 100755 --- a/smatch_scripts/kchecker +++ b/smatch_scripts/kchecker @@ -1,6 +1,6 @@ #!/bin/bash -function useage { +function usage { echo "Usage: $0 [--sparse][--valgrind][--debug] path/to/file.c" exit 1 } @@ -53,15 +53,15 @@ fi cname=$1 cname=$(echo ${cname/.o/.c}) if [[ "$cname" == "" ]] ; then - useage + usage fi if ! test -e $cname ; then - useage + usage fi oname=$(echo ${cname/.c/.o}) if ! echo $oname | grep .o$ > /dev/null ; then - useage + usage fi rm -f $oname diff --git a/smatch_scripts/wine_checker.sh b/smatch_scripts/wine_checker.sh index 5a6407e..79b4faa 100755 --- a/smatch_scripts/wine_checker.sh +++ b/smatch_scripts/wine_checker.sh @@ -1,6 +1,6 @@ #!/bin/bash -function useage { +function usage { echo "Usage: $0 [--sparse][--valgrind][--debug] path/to/file.c" exit 1 } @@ -44,15 +44,15 @@ done cname=$1 cname=$(echo ${cname/.o/.c}) if [[ "$cname" == "" ]] ; then - useage + usege fi if ! test -e $cname ; then - useage + usege fi oname=$(echo ${cname/.c/.o}) if ! echo $oname | grep .o$ > /dev/null ; then - useage + usege fi rm -f $oname -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe smatch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html