diff --git a/phases/ephemeral/docs.md b/phases/ephemeral/docs.md index 2496f7da..555d74e2 100644 --- a/phases/ephemeral/docs.md +++ b/phases/ephemeral/docs.md @@ -2393,7 +2393,7 @@ Terminate the process normally. An exit code of `$exitcode::success` reports successful completion of the program. An exit code of `$exitcode::failure` or any other value less than 126 reports a failure, and the value is provided to the environment. If a value -of at least 126 is given, this function behaves as if it were +of 126 or greater is given, this function behaves as if it were implemented by an `unreachable` instruction. ##### Params diff --git a/phases/ephemeral/witx/wasi_ephemeral_proc.witx b/phases/ephemeral/witx/wasi_ephemeral_proc.witx index 0a8f65a1..0bd57682 100644 --- a/phases/ephemeral/witx/wasi_ephemeral_proc.witx +++ b/phases/ephemeral/witx/wasi_ephemeral_proc.witx @@ -12,7 +12,7 @@ ;;; reports successful completion of the program. An exit code of ;;; `$exitcode::failure` or any other value less than 126 reports a ;;; failure, and the value is provided to the environment. If a value - ;;; of at least 126 is given, this function behaves as if it were + ;;; of 126 or greater is given, this function behaves as if it were ;;; implemented by an `unreachable` instruction. (@interface func (export "exit") ;;; The exit code returned by the process.