w: Show time with TIME_BITS=64 on 32bit env

Thanks to @kabe-gl for this patch.

w command shows ????? for LOGIN@ column when compiled on 32bit environment with -D_TIME_BITS=64.

References:
 #256

Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
Craig Small
2022-11-09 21:02:09 +11:00
parent 2647eb57da
commit d99c213af9
2 changed files with 8 additions and 7 deletions

1
NEWS
View File

@ -2,6 +2,7 @@ procps-ng-NEXT
---------------
* library
Handle absent 'core_id' in /proc/cpuinfo
* w: Show time with D_TIME_BITS=64 on 32bit env issue #256
procps-ng-4.0.1
---------------