diff options
author | NeilBrown <neilb@suse.de> | 2011-06-17 22:49:24 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-06-17 22:49:24 +1000 |
commit | f161d047eed634b3380262767f955eb888502e88 (patch) | |
tree | 0d9e35c4e58102d6c58fee7ee9fc1fb25bf4efe5 /sysfs.c | |
parent | ef799cdd6968db25b3a3ea5d7d4e920391ec640a (diff) | |
download | mdadm-f161d047eed634b3380262767f955eb888502e88.tar.gz |
util: correctly parse shorter linux version numbers.
The next version of Linux might be 3.0. If it is, get_linux_version
will fail.
So make it more robust.
Reported-by: Namhyung Kim <namhyung@gmail.com>
Reported-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'sysfs.c')
0 files changed, 0 insertions, 0 deletions