* grub-core/disk/diskfilter.c (grub_diskfilter_write): Call
grub_error properly. * grub-core/disk/ieee1275/nand.c (grub_nand_write): Likewise. * grub-core/disk/loopback.c (grub_loopback_write): Likewise.
This commit is contained in:
parent
a4c3ed4c8f
commit
10ca8645cc
4 changed files with 13 additions and 3 deletions
|
@ -206,7 +206,8 @@ grub_loopback_write (grub_disk_t disk __attribute ((unused)),
|
|||
grub_size_t size __attribute ((unused)),
|
||||
const char *buf __attribute ((unused)))
|
||||
{
|
||||
return GRUB_ERR_NOT_IMPLEMENTED_YET;
|
||||
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||
"loopback write is not supported");
|
||||
}
|
||||
|
||||
static struct grub_disk_dev grub_loopback_dev =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue