[PATCH 4/9] Doing it for the consistency in the tree,eliminating the full path to the script
From: Bhaskar Chowdhury
Date: Fri Jun 20 2025 - 19:02:32 EST
Just try to making things consistent across the tree by eliminating full path
to the script.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
---
smatch_scripts/find_null_params.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/smatch_scripts/find_null_params.sh b/smatch_scripts/find_null_params.sh
index 9e39146d2d40..a78eb7623fb4 100755
--- a/smatch_scripts/find_null_params.sh
+++ b/smatch_scripts/find_null_params.sh
@@ -3,7 +3,7 @@
file=$1
if [[ "$file" = "" ]] ; then
- echo "Usage: $0 <file with smatch messages>"
+ echo "Usage: $(basename $0) <file with smatch messages>"
exit 1
fi
@@ -13,7 +13,7 @@ cat null_calls.txt unchecked | sort | uniq -d > null_params.txt
IFS="
"
for i in $(cat null_params.txt) ; do
- grep "$i" $file | grep -w undefined
+ grep "$i" $file | grep -w undefined
done
--
2.46.3