Skip to content

Commit 73c2f82

Browse files
use oserror instead of errno
1 parent 9151726 commit 73c2f82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/err.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
static void print(char *type, char *s1, char *s2)
88
{
9-
fprintf(stderr, "%s: %s\n", type, __stroserror(errno));
9+
fprintf(stderr, "%s: %s\n", type, __stroserror(__oserror));
1010
fprintf(stderr, s1, s2);
1111
fprintf(stderr, "\n");
1212
}

0 commit comments

Comments
 (0)