diff options
author | Bernhard Reutner-Fischer | 2006-05-19 11:54:02 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-05-19 11:54:02 +0000 |
commit | e2e56c7c4129de7d20df42e8239fd304c81ef29b (patch) | |
tree | 0f9eb8281fac2f87c79a888dac49b27a1965b366 /e2fsprogs | |
parent | e3c150bc67cb158ee854ffb498f0066c79cd842c (diff) | |
download | busybox-e2e56c7c4129de7d20df42e8239fd304c81ef29b.zip busybox-e2e56c7c4129de7d20df42e8239fd304c81ef29b.tar.gz |
- single KERNEL_VERSION(a,b,c) macro in platform.h
- rename get_kernel_revision() to get_linux_version_code
from Robert P. J. Day
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/mke2fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/mke2fs.c b/e2fsprogs/mke2fs.c index 787f28e..0ecbd05 100644 --- a/e2fsprogs/mke2fs.c +++ b/e2fsprogs/mke2fs.c @@ -833,8 +833,8 @@ static int PRS(int argc, char *argv[]) #endif #ifdef __linux__ - linux_version_code = get_kernel_revision(); - if (linux_version_code && linux_version_code < (2*65536 + 2*256)) { + linux_version_code = get_linux_version_code(); + if (linux_version_code && linux_version_code < KERNEL_VERSION(2,2,0)) { param.s_rev_level = 0; param.s_feature_incompat = 0; param.s_feature_compat = 0; |