aboutsummaryrefslogtreecommitdiff
path: root/src/zen/cmds/status.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2023-08-11 16:39:45 +0200
committerGitHub <[email protected]>2023-08-11 16:39:45 +0200
commitbf4738df5cad0eaa61f4e24b8db7611e378f9f80 (patch)
tree6f0ada74fc5c49b71b64f7731c0681ef544bea65 /src/zen/cmds/status.cpp
parent0.2.16-pre0 (diff)
downloadarchived-zen-bf4738df5cad0eaa61f4e24b8db7611e378f9f80.tar.xz
archived-zen-bf4738df5cad0eaa61f4e24b8db7611e378f9f80.zip
update vcpkg dependencies (#356)
* bump vcpkg version * fmt lib 10 fixes * xmake dependencies (with linux workarounds) * changelog
Diffstat (limited to 'src/zen/cmds/status.cpp')
-rw-r--r--src/zen/cmds/status.cpp3
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;