summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2026-01-14 12:10:38 +0000
committerFelix Fietkau2026-01-14 12:10:41 +0000
commitc5c493ed5787ca067ab1a713061ae02f0bb17046 (patch)
tree8658dc2baf2db3b171ca9c7078d95218da5ec7ef
parent75f39cd4a8067a6f0503c2f1c83c6b1af733a6f2 (diff)
downloadudebug-c5c493ed5787ca067ab1a713061ae02f0bb17046.tar.gz
udebug-cli: fix reference to invalid variable in error message
Use the property ring_name of the ring. Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rwxr-xr-xudebug-cli2
1 files changed, 1 insertions, 1 deletions
diff --git a/udebug-cli b/udebug-cli
index 1598643..5d657cf 100755
--- a/udebug-cli
+++ b/udebug-cli
@@ -283,7 +283,7 @@ function stream_data(log) {
}, null, [ "udebug" ]);
for (let ring in selected) {
if (open_ring(ring, true) == null) {
- _warn(`Failed to open ring ${ring_name}\n`);
+ _warn(`Failed to open ring ${ring.ring_name}\n`);
if (opts.force)
continue;