mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Fix /proc/devices parsing.
This commit is contained in:
parent
8b170dc2bf
commit
f4ad6e2157
@ -1,5 +1,6 @@
|
||||
Version 1.00.21 -
|
||||
============================
|
||||
Fix /proc/devices parsing.
|
||||
|
||||
Version 1.00.20 - 6 Jan 2005
|
||||
============================
|
||||
|
@ -134,8 +134,7 @@ static int _get_proc_number(const char *file, const char *name,
|
||||
fclose(fl);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
do {
|
||||
} else do {
|
||||
c = fgetc(fl);
|
||||
} while (c != EOF && c != '\n');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user