get_linux_version_code: don't fail on Linux version strints like "3.0-foo"
authorAndreas Oberritter <obi@opendreambox.org>
Sat, 5 May 2012 15:47:23 +0000 (17:47 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 May 2012 15:47:23 +0000 (17:47 +0200)
commit556ac3633ce3e7bd51c93b78827ae3874d856257
treea5380391b7dc43cfd5c390e709824f0ff8e5c0a4
parent3da46c8163ecf14a02f8317d0b76b225eceaf28c
get_linux_version_code: don't fail on Linux version strints like "3.0-foo"

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/kernel_version.c