mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-28 02:50:41 +03:00
Fix /proc/devices parsing.
This commit is contained in:
parent
b9fb9b206e
commit
eaf48efc9c
@ -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…
x
Reference in New Issue
Block a user