diff --git a/src/cmds/ntux_cmd_stat.c b/src/cmds/ntux_cmd_stat.c index 38076b3..63f82cd 100644 --- a/src/cmds/ntux_cmd_stat.c +++ b/src/cmds/ntux_cmd_stat.c @@ -113,10 +113,10 @@ int ntux_cmd_stat(const struct ntux_driver_ctx * dctx, const char * dunit) fd,ofd,buf,sbuf, NTUX_NATIVE_ERROR(dctx,status)); - ntux_fprintf(stdout,"fname: %s\n",str); + ntux_dprintf(STDOUT_FILENO,"fname: %s\n",str); /* inode */ - ntux_fprintf(stdout,"inode: 0x%p (%lld)\n",st.st_ino,st.st_ino); + ntux_dprintf(STDOUT_FILENO,"inode: 0x%p (%lld)\n",st.st_ino,st.st_ino); /* all done */ return ntux_cmd_stat_ret(fd,ofd,buf,sbuf,0);