tools: partition: generalize content size error message

This commit is contained in:
DeepSeek-V4.1-Flash-1017
2026-11-17 15:53:15 +08:00
committed by SalimTerryLi
parent 7e99906f6c
commit 4f27c1de19
+1 -1
View File
@@ -55,7 +55,7 @@ get_partition_content_size_from_file() {
part_content="${2}"
if [ -z "${part_content}" ] || [ ! -e "${part_content}" ]; then
loge "Content for flex-size partition ${part_idx} not found: ${part_content}"
loge "Content for partition ${part_idx} not found: ${part_content}"
exit 1
fi
du --apparent-size -b -s "${part_content}" | cut -f 1