]> git.proxmox.com Git - mirror_zfs.git/blobdiff - lib/libspl/include/sys/stat.h
cstyle: Resolve C style issues
[mirror_zfs.git] / lib / libspl / include / sys / stat.h
index b9ad152bc6d4afe1ef67b95b63e582f346708b6a..3e8d27e4c19a34eb7266848de6fb49bec705fb06 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #ifndef _LIBSPL_SYS_STAT_H
-#define _LIBSPL_SYS_STAT_H
+#define        _LIBSPL_SYS_STAT_H
 
 #include_next <sys/stat.h>
 
@@ -37,14 +37,14 @@ static inline int
 fstat64_blk(int fd, struct stat64 *st)
 {
        if (fstat64(fd, st) == -1)
-               return -1;
+               return (-1);
 
        /* In Linux we need to use an ioctl to get the size of a block device */
        if (S_ISBLK(st->st_mode)) {
                if (ioctl(fd, BLKGETSIZE64, &st->st_size) != 0)
-                       return -1;
+                       return (-1);
        }
 
-       return 0;
+       return (0);
 }
 #endif /* _LIBSPL_SYS_STAT_H */