* grub-core/fs/proc.c: Allow \0 in proc files.
This commit is contained in:
parent
ba82db7a0d
commit
3bbeade41d
5 changed files with 12 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue