Skip to content

Commit 86507b7

Browse files
committed
Fix stdlib bug.
1 parent b402733 commit 86507b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/stdlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ static char *strcpy(char *dst, const char *src)
16061606

16071607
static const char *strerror(int errnum)
16081608
{
1609-
switch (errno)
1609+
switch (errnum)
16101610
{
16111611
case E2BIG:
16121612
return "Argument list too long";

0 commit comments

Comments
 (0)