fix problems with includes now that our previous linux/acl.h has gone away.
[xfstests-dev.git] / src / bstat.c
index b3aa011c2e9a9e7bdd3975cbfb2aaaa144a8d953..33105811742b709cfd60d0ae7fe32366fd88564f 100644 (file)
@@ -32,9 +32,6 @@
 
 #include <libxfs.h>
 #include <jdm.h>
-
-#include <errno.h>
-#include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 
@@ -97,7 +94,7 @@ main(int argc, char **argv)
        int             verbose = 0;
        xfs_bstat_t     *t;
        int             ret;
-       jdm_fshandle_t  *fshandlep;
+       jdm_fshandle_t  *fshandlep = NULL;
        int             fd;
        struct stat64   sb;
        int nread;