summaryrefslogtreecommitdiff
path: root/modules/dbgfmts/stabs/stabs-dbgfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dbgfmts/stabs/stabs-dbgfmt.c')
-rw-r--r--modules/dbgfmts/stabs/stabs-dbgfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dbgfmts/stabs/stabs-dbgfmt.c b/modules/dbgfmts/stabs/stabs-dbgfmt.c
index 5c0cba6a..64896cab 100644
--- a/modules/dbgfmts/stabs/stabs-dbgfmt.c
+++ b/modules/dbgfmts/stabs/stabs-dbgfmt.c
@@ -355,7 +355,7 @@ stabs_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap,
yasm_error_set(YASM_ERROR_GENERAL,
N_("stabs debugging conflicts with user-defined section .stabstr"));
yasm_errwarn_propagate(errwarns,
- yasm_section_bcs_first(info.stab)->line);
+ yasm_section_bcs_first(info.stabstr)->line);
} else {
yasm_warn_set(YASM_WARN_GENERAL,
N_("stabs debugging overrides empty section .stabstr"));