string: add missing ENODEV message in strerror

This commit is contained in:
Lephenixnoir 2025-04-06 21:59:57 +02:00
parent 09610f59de
commit 283f39a765
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 1 deletions

View file

@ -183,7 +183,7 @@ extern FILE *freopen(
/* Use __buf as a buffer (of size BUFSIZ) for access to __fp. */ /* Use __buf as a buffer (of size BUFSIZ) for access to __fp. */
extern void setbuf(FILE * __restrict__ __fp, char * __restrict__ __buf); extern void setbuf(FILE * __restrict__ __fp, char * __restrict__ __buf);
/* Changer the buffering mode and buffer address for __fp. */ /* Change the buffering mode and buffer address for __fp. */
extern int setvbuf(FILE * __restrict__ __fp, char * __restrict__ __buf, extern int setvbuf(FILE * __restrict__ __fp, char * __restrict__ __buf,
int __mode, size_t __size); int __mode, size_t __size);

View file

@ -23,6 +23,7 @@ static char *errno_strings [] = {
[EINTR] = "Interrupted system call", [EINTR] = "Interrupted system call",
[EAGAIN] = "Resource temporarily unavailable", [EAGAIN] = "Resource temporarily unavailable",
[EIO] = "Input/output error", [EIO] = "Input/output error",
[ENODEV] = "No such device",
[ENOMEDIUM] = "No medium found", [ENOMEDIUM] = "No medium found",
[EMEDIUMTYPE] = "Wrong medium type", [EMEDIUMTYPE] = "Wrong medium type",
}; };