mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-06 04:41:58 +00:00
Btrfs-progs: add correct indentation
A trivial fix, corrects the indentation. Signed-off-by: Anand Jain <anand.jain@oracle.com>
This commit is contained in:
parent
b7b27b4efb
commit
57ca339bf4
13
utils.c
13
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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user