summaryrefslogtreecommitdiffstats
path: root/tapset-procfs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapset-procfs.cxx')
-rw-r--r--tapset-procfs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset-procfs.cxx b/tapset-procfs.cxx
index a996ee32..58bb0f0d 100644
--- a/tapset-procfs.cxx
+++ b/tapset-procfs.cxx
@@ -360,7 +360,7 @@ procfs_var_expanding_visitor::visit_target_symbol (target_symbol* e)
if (e->components.size() > 0)
{
- switch (e->components[0].first)
+ switch (e->components[0].type)
{
case target_symbol::comp_literal_array_index:
throw semantic_error("procfs target variable '$value' may not be used as array",