diff --git a/ChangeLog b/ChangeLog index b5fa92d0e..42835cd62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-04-18 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_write): Fix message + disunification. + 2012-04-18 Vladimir Serbinenko * conf/Makefile.common (LDFLAGS_PLATFORM): Use explicit -Wl. diff --git a/grub-core/kern/emu/hostdisk.c b/grub-core/kern/emu/hostdisk.c index be3a6653f..ea7eb3d90 100644 --- a/grub-core/kern/emu/hostdisk.c +++ b/grub-core/kern/emu/hostdisk.c @@ -1097,7 +1097,8 @@ grub_util_biosdisk_write (grub_disk_t disk, grub_disk_addr_t sector, parts. -jochen */ if (grub_util_fd_write (fd, buf, (1 << disk->log_sector_size)) != (1 << disk->log_sector_size)) - return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write `%s': %s"), + return grub_error (GRUB_ERR_WRITE_ERROR, + N_("cannot write to `%s': %s"), map[disk->id].device, strerror (errno)); buf += (1 << disk->log_sector_size); @@ -1108,7 +1109,7 @@ grub_util_biosdisk_write (grub_disk_t disk, grub_disk_addr_t sector, if (grub_util_fd_write (fd, buf, max << disk->log_sector_size) != (ssize_t) (max << disk->log_sector_size)) - return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write `%s': %s"), + return grub_error (GRUB_ERR_WRITE_ERROR, N_("cannot write to `%s': %s"), map[disk->id].device, strerror (errno)); size -= max; buf += (max << disk->log_sector_size);