diff options
Diffstat (limited to 'src/zen/cmds/status.cpp')
| -rw-r--r-- | src/zen/cmds/status.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zen/cmds/status.cpp b/src/zen/cmds/status.cpp index 23c27f9f9..1afe191b7 100644 --- a/src/zen/cmds/status.cpp +++ b/src/zen/cmds/status.cpp @@ -2,6 +2,7 @@ #include "status.h" +#include <zencore/fmtutils.h> #include <zencore/logging.h> #include <zencore/string.h> #include <zencore/uid.h> @@ -32,7 +33,7 @@ StatusCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) State.Snapshot([&](const ZenServerState::ZenServerEntry& Entry) { StringBuilder<25> SessionStringBuilder; Entry.GetSessionId().ToString(SessionStringBuilder); - ZEN_CONSOLE("{:>5} {:>6} {:>24}", Entry.EffectiveListenPort, Entry.Pid, SessionStringBuilder.ToString()); + ZEN_CONSOLE("{:>5} {:>6} {:>24}", Entry.EffectiveListenPort.load(), Entry.Pid.load(), SessionStringBuilder); }); return 0; |