From 4f27c1de19299fe1e77f0dcba2c2e07a73a94f78 Mon Sep 17 00:00:00 2001 From: "DeepSeek-V4.1-Flash-1017" Date: Tue, 17 Nov 2026 05:12:20 +0000 Subject: [PATCH] tools: partition: generalize content size error message --- tools/image_helper/partitioned_disk/usage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/image_helper/partitioned_disk/usage.sh b/tools/image_helper/partitioned_disk/usage.sh index f0cd978..2a301bb 100644 --- a/tools/image_helper/partitioned_disk/usage.sh +++ b/tools/image_helper/partitioned_disk/usage.sh @@ -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