From 4e1ffdca6d97c1bddc460835c94b16bc64284861 Mon Sep 17 00:00:00 2001 From: mochalins <117967760+mochalins@users.noreply.github.com> Date: Fri, 23 May 2025 17:02:52 +0900 Subject: Fix typos across docs, comments, and CMake --- src/tools/nngcat/nngcat_ambiguous_test.sh | 2 +- src/tools/perf/pubdrop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools') diff --git a/src/tools/nngcat/nngcat_ambiguous_test.sh b/src/tools/nngcat/nngcat_ambiguous_test.sh index 944d5aed..264d4704 100755 --- a/src/tools/nngcat/nngcat_ambiguous_test.sh +++ b/src/tools/nngcat/nngcat_ambiguous_test.sh @@ -17,7 +17,7 @@ CMD="${NNGCAT} --re --dial=tcp://127.0.0.1:27272" echo -n "Verify ambiguous options fail: " if ${CMD} >/dev/null 2>&1 then - echo "Failed: ambigous accepted" + echo "Failed: ambiguous accepted" exit 1 fi x=$(${CMD} 2>&1) diff --git a/src/tools/perf/pubdrop.c b/src/tools/perf/pubdrop.c index 1788a3cf..83524609 100644 --- a/src/tools/perf/pubdrop.c +++ b/src/tools/perf/pubdrop.c @@ -108,7 +108,7 @@ parse_int(const char *arg, const char *what) char *eptr; val = strtol(arg, &eptr, 10); - // Must be a postive number less than around a billion. + // Must be a positive number less than around a billion. if ((val < 0) || (val > (1 << 30)) || (*eptr != 0) || (eptr == arg)) { die("Invalid %s", what); } -- cgit v1.2.3-70-g09d2