diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-10-23 10:28:44 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-10-28 11:08:30 +0000 |
| commit | ce8559897261b0610990b88a18efa44df42a9747 (patch) | |
| tree | 08bc1fe261c500011c7bc2534f699622dd69f4b4 /lib/libc/resolv | |
| parent | 93263ae5eab61bedb4a17638dd53b2dd5d0aa71e (diff) | |
w: Trim whitespace and commas from time and uptimestable/13
When producing formatted output, trim leading whitespace and trailing
commas from the human-readable time and uptime before emitting them.
The text output remains unchanged.
PR: 290089
Fixes: 6e6febb54da9 ("w: Fix idle time in json output, add login/idle times to json output")
Reviewed by: marius.h_lden.org
Differential Revision: https://reviews.freebsd.org/D53167
(cherry picked from commit 4d5789532a940144c869d66505e756ce816f8a50)
Diffstat (limited to 'lib/libc/resolv')
0 files changed, 0 insertions, 0 deletions
