Skip to content

Commit ebdcd29

Browse files
committed
Fix typo.
1 parent d34cd3c commit ebdcd29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Embedded/np_embed.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,12 @@ NP_DECL(int) np_close(int fd) {
326326
return 0;
327327
}
328328

329-
NP_DECL(EFILE*) np_freopen(const char *filename, const char *mode, void *stream) {
329+
NP_DECL(EFILE*) np_freopen(const char *filename, const char *mode, void *e) {
330330
if (NP_FOREIGN_PTR) {
331-
return freopen(filename, mode, (FILE*)stream);
331+
return freopen(filename, mode, (FILE*)e);
332332
}
333333
if (((EFILE*)e)->handle_type == EHANDLE_NATIVE) {
334-
return freopen(filename, mode, ((EFILE*)stream)->f);
334+
return freopen(filename, mode, ((EFILE*)e)->f);
335335
}
336336

337337
return NULL;

0 commit comments

Comments
 (0)