diff --git a/kernel/include/sortix/signal.h b/kernel/include/sortix/signal.h index d1213e76..a0a24fb2 100644 --- a/kernel/include/sortix/signal.h +++ b/kernel/include/sortix/signal.h @@ -32,7 +32,7 @@ __BEGIN_DECLS #define SIGHUP 1 /* Hangup */ #define SIGINT 2 /* Interrupt */ #define SIGQUIT 3 /* Quit */ -#define SIGILL 4 /* Illegal instruction */ +#define SIGILL 4 /* Invalid instruction */ #define SIGTRAP 5 /* Trace/breakpoint trap */ #define SIGABRT 6 /* Aborted */ #define SIGBUS 7 /* Bus Error */ diff --git a/libc/string/strerror.cpp b/libc/string/strerror.cpp index 003a0bfa..22ab619e 100644 --- a/libc/string/strerror.cpp +++ b/libc/string/strerror.cpp @@ -58,7 +58,7 @@ extern "C" const char* sortix_strerror(int errnum) case ENOTEMPTY: return "Directory not empty"; case EBUSY: return "Device or resource busy"; case EPIPE: return "Broken pipe"; - case EILSEQ: return "Illegal byte sequence"; + case EILSEQ: return "Invalid byte sequence"; case ELAKE: return "Sit by a lake"; case EMFILE: return "Too many open files"; case EAGAIN: return "Resource temporarily unavailable"; diff --git a/libc/string/strsignal.cpp b/libc/string/strsignal.cpp index 255c5a6a..56981ab6 100644 --- a/libc/string/strsignal.cpp +++ b/libc/string/strsignal.cpp @@ -33,7 +33,7 @@ extern "C" const char* sortix_strsignal(int signum) case SIGHUP: return "Hangup"; case SIGINT: return "Interrupt"; case SIGQUIT: return "Quit"; - case SIGILL: return "Illegal instruction"; + case SIGILL: return "Invalid instruction"; case SIGTRAP: return "Trace/breakpoint trap"; case SIGABRT: return "Aborted"; case SIGBUS: return "Bus Error";