summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-03 14:16:12 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-03 14:22:07 +0200
commit1230f4e8020b918ea136fff4f0a4c33ac6cb0fa9 (patch)
treef8e29f795abb39593e56dd26737f88cda23e8181 /lib
parent9ae7e11098d0a3bbbae970b2c0457a39bddb174c (diff)
Typo fix
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/compat/w32_stdio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/compat/w32_stdio.c b/lib/compat/w32_stdio.c
index 3124899..c7f68d0 100644
--- a/lib/compat/w32_stdio.c
+++ b/lib/compat/w32_stdio.c
@@ -38,7 +38,7 @@ static BOOL isatty(HANDLE hnd)
return (GetFileType(hnd) == FILE_TYPE_CHAR);
}
-int stfs_tools_fputs(const char *str, FILE *strm)
+int sqfs_tools_fputs(const char *str, FILE *strm)
{
DWORD length;
WCHAR *wstr;
@@ -65,14 +65,14 @@ int stfs_tools_fputs(const char *str, FILE *strm)
return ret;
}
-int stfs_tools_fputc(int c, FILE *strm)
+int sqfs_tools_fputc(int c, FILE *strm)
{
char str[2];
str[0] = c;
str[1] = '\0';
- return stfs_tools_fputs(str, strm);
+ return sqfs_tools_fputs(str, strm);
}
static int sqfs_printf_common(FILE *out, const char *fmt, va_list ap)
@@ -94,14 +94,14 @@ static int sqfs_printf_common(FILE *out, const char *fmt, va_list ap)
return -1;
}
- if (stfs_tools_fputs(str, out) == EOF)
+ if (sqfs_tools_fputs(str, out) == EOF)
ret = -1;
free(str);
return ret;
}
-int stfs_tools_printf(const char *fmt, ...)
+int sqfs_tools_printf(const char *fmt, ...)
{
va_list ap;
int ret;
@@ -112,7 +112,7 @@ int stfs_tools_printf(const char *fmt, ...)
return ret;
}
-int stfs_tools_fprintf(FILE *strm, const char *fmt, ...)
+int sqfs_tools_fprintf(FILE *strm, const char *fmt, ...)
{
va_list ap;
int ret;