summaryrefslogtreecommitdiffhomepage
path: root/src/cmds/ntux_cmd_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmds/ntux_cmd_stat.c')
-rw-r--r--src/cmds/ntux_cmd_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmds/ntux_cmd_stat.c b/src/cmds/ntux_cmd_stat.c
index 8634c4a..f043ddb 100644
--- a/src/cmds/ntux_cmd_stat.c
+++ b/src/cmds/ntux_cmd_stat.c
@@ -4,12 +4,12 @@
/* Released under GPLv2 and GPLv3; see COPYING.NTUX. */
/***********************************************************/
-#include <ntapi/ntapi.h>
#include <psxabi/sys_sysapi.h>
#include <psxabi/sys_stat.h>
#include <psxabi/sys_errno.h>
#include <psxxfi/xfi_ofd.h>
+#include <psxxfi/xfi_stat.h>
#include <psxxfi/xfi_unicode.h>
#include <ntux/ntux.h>
@@ -100,7 +100,7 @@ int ntux_cmd_stat(const struct ntux_driver_ctx * dctx, const char * dunit)
nstat = (nt_stat *)sbuf;
/* stat */
- if ((status = ntapi->tt_stat(
+ if ((status = __xfi_stat(
ofd->info.hfile,
nstat,bufsize,
buf,bufsize,