Skip to content

Commit ff9dabe

Browse files
fix typo
1 parent 79d32d0 commit ff9dabe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wolfssh/port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ extern "C" {
401401

402402
#define FLUSH_STD(a)
403403

404-
WOLFSSH_LOCAL int wfopen(WFILE* f, const char* filenmae,
404+
WOLFSSH_LOCAL int wfopen(WFILE* f, const char* filename,
405405
SYS_FS_FILE_OPEN_ATTRIBUTES mode);
406406
WOLFSSH_LOCAL int wChmod(const char *path, int mode);
407407

@@ -419,7 +419,7 @@ extern "C" {
419419
#undef WFGETS
420420
#define WFGETS(b,s,f) SYS_FS_FileStringGet((f), (b), (s))
421421
#undef WFPUTS
422-
#define WFPUTS(b,s) SYS_FS_FileStringPut((f), (b), (s))
422+
#define WFPUTS(b,f) SYS_FS_FileStringPut((f), (b))
423423
#define WUTIMES(a,b) (0) /* Not ported yet */
424424
#define WSETTIME(fs,f,a,m) (0)
425425
#define WFSETTIME(fs,fd,a,m) (0)

0 commit comments

Comments
 (0)