diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-02-22 14:59:24 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-02-27 16:47:26 +0100 |
commit | 57ca339bf449364c80b0e045dc79c5f88446d682 (patch) | |
tree | 4a66db250b1f3e982148613459ec4ee5cb945452 /utils.c | |
parent | b7b27b4efb0eb599f89ea664c3acb216876f00fd (diff) |
Btrfs-progs: add correct indentation
A trivial fix, corrects the indentation.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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)) { |