Use the word invalid instead of illegal.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-08-03 13:40:35 +02:00
parent 76bf0eb30c
commit b6b19c88fd
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ __BEGIN_DECLS
#define SIGHUP 1 /* Hangup */ #define SIGHUP 1 /* Hangup */
#define SIGINT 2 /* Interrupt */ #define SIGINT 2 /* Interrupt */
#define SIGQUIT 3 /* Quit */ #define SIGQUIT 3 /* Quit */
#define SIGILL 4 /* Illegal instruction */ #define SIGILL 4 /* Invalid instruction */
#define SIGTRAP 5 /* Trace/breakpoint trap */ #define SIGTRAP 5 /* Trace/breakpoint trap */
#define SIGABRT 6 /* Aborted */ #define SIGABRT 6 /* Aborted */
#define SIGBUS 7 /* Bus Error */ #define SIGBUS 7 /* Bus Error */

View File

@ -58,7 +58,7 @@ extern "C" const char* sortix_strerror(int errnum)
case ENOTEMPTY: return "Directory not empty"; case ENOTEMPTY: return "Directory not empty";
case EBUSY: return "Device or resource busy"; case EBUSY: return "Device or resource busy";
case EPIPE: return "Broken pipe"; 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 ELAKE: return "Sit by a lake";
case EMFILE: return "Too many open files"; case EMFILE: return "Too many open files";
case EAGAIN: return "Resource temporarily unavailable"; case EAGAIN: return "Resource temporarily unavailable";

View File

@ -33,7 +33,7 @@ extern "C" const char* sortix_strsignal(int signum)
case SIGHUP: return "Hangup"; case SIGHUP: return "Hangup";
case SIGINT: return "Interrupt"; case SIGINT: return "Interrupt";
case SIGQUIT: return "Quit"; case SIGQUIT: return "Quit";
case SIGILL: return "Illegal instruction"; case SIGILL: return "Invalid instruction";
case SIGTRAP: return "Trace/breakpoint trap"; case SIGTRAP: return "Trace/breakpoint trap";
case SIGABRT: return "Aborted"; case SIGABRT: return "Aborted";
case SIGBUS: return "Bus Error"; case SIGBUS: return "Bus Error";