Btrfs-progs: add correct indentation

A trivial fix, corrects the indentation.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
master
Anand Jain 2013-02-22 14:59:24 +08:00 committed by David Sterba
parent b7b27b4efb
commit 57ca339bf4
1 changed files with 7 additions and 6 deletions

13
utils.c
View File

@ -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)) {