top: the '#define PRETEND2_5_X' was found to be broken

Our newlib branch has already dropped support for such
old kernels. However, the master branch still supports
them. So this patch will correct a broken #define that
is used to influence the top Summary Area information.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2018-08-14 00:00:00 -05:00
committed by Craig Small
parent 86611b461f
commit 2b82cbfc2a
2 changed files with 4 additions and 4 deletions

View File

@@ -3615,7 +3615,11 @@ static void before (char *me) {
struct sigaction sa;
proc_t p;
int i;
#ifndef PRETEND2_5_X
int linux_version_code = procps_linux_version();
#else
int linux_version_code = LINUX_VERSION(2,5,43);
#endif
atexit(close_stdout);