aboutsummaryrefslogtreecommitdiffstats
path: root/src/etisnoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/etisnoop.cpp')
-rw-r--r--src/etisnoop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp
index 13239e5..ce2f27a 100644
--- a/src/etisnoop.cpp
+++ b/src/etisnoop.cpp
@@ -138,10 +138,10 @@ int main(int argc, char *argv[])
switch (ch) {
case 'd':
{
- int subchix = atoi(optarg);
+ int subchid = atoi(optarg);
config.streams_to_decode.emplace(std::piecewise_construct,
- std::make_tuple(subchix),
- std::make_tuple(true)); // dump to file
+ std::make_tuple(subchid),
+ std::make_tuple(subchid, true)); // dump to file
}
break;
case 'e':