Skip to content

Commit d98a15d

Browse files
mbolivar-nordicgalak
authored andcommitted
cmake: extensions: fix copy/paste issues in DT error messages
These were copied from dt_reg_addr and not changed. Signed-off-by: Martí Bolívar <[email protected]>
1 parent 33d4ac4 commit d98a15d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/extensions.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2734,12 +2734,12 @@ function(dt_reg_size var)
27342734
cmake_parse_arguments(DT_REG "" "${req_single_args};${single_args}" "" ${ARGN})
27352735

27362736
if(${ARGV0} IN_LIST req_single_args)
2737-
message(FATAL_ERROR "dt_reg_addr(${ARGV0} ...) missing return parameter.")
2737+
message(FATAL_ERROR "dt_reg_size(${ARGV0} ...) missing return parameter.")
27382738
endif()
27392739

27402740
foreach(arg ${req_single_args})
27412741
if(NOT DEFINED DT_REG_${arg})
2742-
message(FATAL_ERROR "dt_reg_addr(${ARGV0} ...) "
2742+
message(FATAL_ERROR "dt_reg_size(${ARGV0} ...) "
27432743
"missing required argument: ${arg}"
27442744
)
27452745
endif()

0 commit comments

Comments
 (0)