From edbe7076cb7e20a8252a46aadec5b7e98eef4730 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 19 Mar 2021 23:54:38 +0000 Subject: [PATCH] buffer: Sync up out-of-range error message The messages associated with other similar GRUB_ERR_OUT_OF_RANGE errors were lacking the trailing full stop. Syncing up the strings saves a small amount of precious core image space on i386-pc. DOWN: obj/i386-pc/grub-core/kernel.img (31740 > 31708) - change: -32 DOWN: i386-pc core image (biosdisk ext2 part_msdos) (27453 > 27452) - change: -1 DOWN: i386-pc core image (biosdisk ext2 part_msdos diskfilter mdraid09) (32367 > 32359) - change: -8 Signed-off-by: Colin Watson Reviewed-by: Daniel Kiper --- include/grub/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grub/buffer.h b/include/grub/buffer.h index f4b10cf28..bb5e3cd92 100644 --- a/include/grub/buffer.h +++ b/include/grub/buffer.h @@ -114,7 +114,7 @@ grub_buffer_peek_data_at (grub_buffer_t buf, grub_size_t off) { if (grub_add (buf->pos, off, &off)) { - grub_error (GRUB_ERR_OUT_OF_RANGE, N_("overflow is detected.")); + grub_error (GRUB_ERR_OUT_OF_RANGE, N_("overflow is detected")); return NULL; }