diff options
Diffstat (limited to 'src/internal/ntux_dprintf_impl.c')
-rw-r--r-- | src/internal/ntux_dprintf_impl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal/ntux_dprintf_impl.c b/src/internal/ntux_dprintf_impl.c index 1f87eb6..c39b4da 100644 --- a/src/internal/ntux_dprintf_impl.c +++ b/src/internal/ntux_dprintf_impl.c @@ -1,6 +1,6 @@ -#include <ntapi/ntapi.h> #include <psxabi/sys_sysapi.h> #include <psxabi/sys_errno.h> +#include <psxxfi/xfi_base.h> #include <ntux/ntux.h> #include "ntux_driver_impl.h" @@ -24,7 +24,7 @@ int ntux_dprintf(int fd, const char * fmt, ...) va_start(ap,fmt); size = sizeof(chbuf); - buf = ((cnt = ntapi->vsnprintf(chbuf,size,fmt,ap)) < size) + buf = ((cnt = __xfi_vsnprintf(chbuf,size,fmt,ap)) < size) ? chbuf : calloc(1, cnt + 1); va_end(ap); @@ -34,7 +34,7 @@ int ntux_dprintf(int fd, const char * fmt, ...) } else if (buf) { va_start(ap,fmt); - ntapi->vsprintf(buf,fmt,ap); + __xfi_vsprintf(buf,fmt,ap); va_end(ap); } else { |