mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/src: Fix typos
Closes: https://github.com/ibm-s390-linux/s390-tools/pull/186 Signed-off-by: Nikita Dubrovskii <nikita@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
66d3aa849a
commit
ed01bac8e2
@@ -663,7 +663,7 @@ static int disk_set_info_complete(struct job_target_data *td,
|
||||
* To exclude any user assumptions about the DEVICE, this function
|
||||
* should be called with TD pointing to a zeroed structure.
|
||||
*
|
||||
* DEVICE: logical, or physical device, optionally formated with a
|
||||
* DEVICE: logical, or physical device, optionally formatted with a
|
||||
* file system.
|
||||
*/
|
||||
int disk_get_info(const char *device, struct job_target_data *td,
|
||||
@@ -1061,6 +1061,7 @@ disk_write_block_buffer_align(struct misc_fd *mfd, int fd_is_basedisk, const voi
|
||||
count = (bytecount + info->phy_block_size - 1) / info->phy_block_size;
|
||||
*blocklist = (disk_blockptr_t *)util_zalloc(sizeof(disk_blockptr_t) *
|
||||
count);
|
||||
|
||||
if (*blocklist == NULL) {
|
||||
close(mfd->fd);
|
||||
return 0;
|
||||
|
||||
@@ -291,7 +291,7 @@ static int install_eckd_cdl_ld(int fd, disk_blockptr_t *br,
|
||||
return -1;
|
||||
rc = DRY_RUN_FUNC(misc_write(fd, &vl, sizeof(vl)));
|
||||
if (rc)
|
||||
error_text("Could not update volume lablel 'vol1'");
|
||||
error_text("Could not update volume label 'vol1'");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -444,7 +444,7 @@ misc_write(int fd, const void* data, size_t count)
|
||||
}
|
||||
|
||||
/**
|
||||
* Instead of writing, upadte only current position in the file
|
||||
* Instead of writing, update only current position in the file
|
||||
*/
|
||||
static int misc_simulate_write(int fd, size_t count)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user