diff options
Diffstat (limited to 'src/tools')
| -rwxr-xr-x | src/tools/nngcat/nngcat_ambiguous_test.sh | 2 | ||||
| -rw-r--r-- | src/tools/perf/pubdrop.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); } |
