Skip to content

Commit

Permalink
use oserror instead of errno
Browse files Browse the repository at this point in the history
  • Loading branch information
rumbledethumps committed Nov 24, 2023
1 parent 9151726 commit 73c2f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/err.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

static void print(char *type, char *s1, char *s2)
{
fprintf(stderr, "%s: %s\n", type, __stroserror(errno));
fprintf(stderr, "%s: %s\n", type, __stroserror(__oserror));
fprintf(stderr, s1, s2);
fprintf(stderr, "\n");
}
Expand Down

0 comments on commit 73c2f82

Please sign in to comment.