From 9def9c9aa800c4532e929ff2f5b7625bd11f32e1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 21 Jul 2026 13:41:53 -0400 Subject: [PATCH] Fix an SDAS object error message to use the valid section name variable --- src/link/sdas_obj.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/link/sdas_obj.cpp b/src/link/sdas_obj.cpp index f1d53e69..b90b2c31 100644 --- a/src/link/sdas_obj.cpp +++ b/src/link/sdas_obj.cpp @@ -294,11 +294,7 @@ void sdobj_ReadFile(FileStackNode const &src, FILE *file, std::vector &f uint32_t tmp = readInt(where, token, numberBase); if (tmp > UINT16_MAX) { - fatalAt( - where, - "Area \"%s\" is larger than the GB address space", - curSection->name.c_str() - ); + fatalAt(where, "Area \"%s\" is larger than the GB address space", sectName); } curSection->size = tmp;