Btrfs-progs: add correct indentation
authorAnand Jain <anand.jain@oracle.com>
Fri, 22 Feb 2013 06:59:24 +0000 (14:59 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 Feb 2013 15:47:26 +0000 (16:47 +0100)
A trivial fix, corrects the indentation.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
utils.c

diff --git a/utils.c b/utils.c
index ac3c053..1813dda 100644 (file)
--- a/utils.c
+++ b/utils.c
@@ -1316,12 +1316,13 @@ scan_again:
                return -ENOENT;
        }
        /* skip the header */
-       for(i=0; i < 2 ; i++)
-               if(!fgets(buf, 1023, proc_partitions)){
-               fprintf(stderr, "Unable to read '/proc/partitions' for scanning\n");
-               fclose(proc_partitions);
-               return -ENOENT;
-       }
+       for (i = 0; i < 2; i++)
+               if (!fgets(buf, 1023, proc_partitions)) {
+                       fprintf(stderr,
+                               "Unable to read '/proc/partitions' for scanning\n");
+                       fclose(proc_partitions);
+                       return -ENOENT;
+               }
 
        strcpy(fullpath,"/dev/");
        while(fgets(buf, 1023, proc_partitions)) {