]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Allocate correct size
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 27 Dec 2009 21:34:49 +0000 (22:34 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 27 Dec 2009 21:34:49 +0000 (22:34 +0100)
normal/term.c

index b099ae84c6d1267f1355b38b0cd666a1e6ddd1a1..667d27ee90fa7fe4d84a1d2fc53461943c849f99 100644 (file)
@@ -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;