* grub-core/fs/proc.c: Allow \0 in proc files.

This commit is contained in:
Vladimir Serbinenko 2013-11-12 15:57:09 +01:00
parent ba82db7a0d
commit 3bbeade41d
5 changed files with 12 additions and 5 deletions

View file

@ -54,8 +54,9 @@ static const char testfile[] =
;
static char *
get_test_txt (void)
get_test_txt (grub_size_t *sz)
{
*sz = grub_strlen (testfile);
return grub_strdup (testfile);
}