From: Vladimir 'phcoder' Serbinenko Date: Sun, 27 Dec 2009 21:34:49 +0000 (+0100) Subject: Allocate correct size X-Git-Tag: 1.98~202^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45e1a9fb790237b066d2f1e706e896fcc5a9e15;p=thirdparty%2Fgrub.git Allocate correct size --- diff --git a/normal/term.c b/normal/term.c index b099ae84c..667d27ee9 100644 --- a/normal/term.c +++ b/normal/term.c @@ -167,7 +167,7 @@ read_terminal_list (void) return; } - filename = grub_malloc (grub_strlen (prefix) + sizeof ("/crypto.lst")); + filename = grub_malloc (grub_strlen (prefix) + sizeof ("/terminal.lst")); if (!filename) { grub_errno = GRUB_ERR_NONE;