]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
buffer: Sync up out-of-range error message
authorColin Watson <cjwatson@debian.org>
Fri, 19 Mar 2021 23:54:38 +0000 (23:54 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 12 Apr 2021 14:31:18 +0000 (16:31 +0200)
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 <cjwatson@debian.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/buffer.h

index f4b10cf28105e67f3b6b0eb0c9b0d707a8e90543..bb5e3cd927ae630b5a5081523ec40d019bf428d0 100644 (file)
@@ -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;
     }