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