summaryrefslogtreecommitdiff
path: root/nuttx/tools/indent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools/indent.sh')
-rwxr-xr-xnuttx/tools/indent.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/tools/indent.sh b/nuttx/tools/indent.sh
index 8168a1807..938502e0f 100755
--- a/nuttx/tools/indent.sh
+++ b/nuttx/tools/indent.sh
@@ -37,9 +37,9 @@
# This script uses the Linux 'indent' utility to re-format C source files
# to match the coding style that I use. It differs from my coding style in that
#
-# - I normally put the traiing */ of a multi-line comment on a separate line,
-# - I usually align things vertically (like '='in assignments.
-# - indent puts a bogus blank line at the top of the file
+# - I normally put the trailing */ of a multi-line comment on a separate line,
+# - I usually align things vertically (like '=' in assignments),
+# - indent puts a bogus blank line at the top of the file,
# - I don't like the way it handles nested conditional compilation intermixed with code.
#
@@ -63,7 +63,7 @@ if [ -z "$infile" ]; then
fi
if [ ! -r $infile ]; then
- echo "Readable $nfile does not exist"
+ echo "Readable $infile does not exist"
exit 1
fi