change interface of emile_scsi_create_container()

This commit is contained in:
Laurent Vivier 2005-12-01 22:19:39 +00:00
parent 700ece4d7f
commit fceb358601

View File

@ -48,12 +48,11 @@ int emile_first_set_param_scsi(int fd, char *second_name)
if (fd_second == -1) if (fd_second == -1)
return EEMILE_CANNOT_OPEN_FILE; return EEMILE_CANNOT_OPEN_FILE;
ret = emile_scsi_create_container(fd_second, container, max_blocks); ret = emile_scsi_create_container(fd_second, unit_id, container, max_blocks);
if (ret != 0) if (ret != 0)
return ret; return ret;
close(fd_second); close(fd_second);
*unit_id = container->unit_id;
*block_size = BLOCK_SIZE; *block_size = BLOCK_SIZE;
*second_size = 0; *second_size = 0;