Changeset 89e2aac in mainline


Ignore:
Timestamp:
2017-07-08T17:06:34Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9bf4488
Parents:
1c88835
Message:

Fix sysinst.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sysinst/sysinst.c

    r1c88835 r89e2aac  
    171171
    172172        printf("sysinst_fs_mount(): verify filesystem server result\n");
    173         if (texit != TASK_EXIT_NORMAL || trc != 0)
    174                 return EIO;
     173        if (texit != TASK_EXIT_NORMAL || trc != 0) {
     174                printf("sysinst_fs_mount(): not successful, but could be already loaded.\n");
     175        }
    175176
    176177        rc = vfs_link_path(MOUNT_POINT, KIND_DIRECTORY, NULL);
     
    209210
    210211        printf("sysinst_copy_boot_files(): verify filesystem server result\n");
    211         if (texit != TASK_EXIT_NORMAL || trc != 0)
    212                 return EIO;
     212        if (texit != TASK_EXIT_NORMAL || trc != 0) {
     213                printf("sysinst_fs_mount(): not successful, but could be already loaded.\n");
     214        }
    213215
    214216        printf("sysinst_copy_boot_files(): create CD mount point\n");
  • uspace/lib/fdisk/src/fdisk.c

    r1c88835 r89e2aac  
    735735        vbd_part_id_t partid = 0;
    736736        vol_part_info_t vpinfo;
    737         char *label;
    738         int rc;
    739 
    740         label = str_dup(pspec->label);
    741         if (label == NULL)
    742                 return ENOMEM;
     737        const char *label;
     738        int rc;
     739
     740        label = pspec->label != NULL ? pspec->label : "";
    743741
    744742        rc = fdisk_part_spec_prepare(dev, pspec, &vpspec);
     
    762760        if (part->svc_id != 0) {
    763761                rc = vol_part_mkfs(dev->fdisk->vol, part->svc_id, pspec->fstype,
    764                     pspec->label);
     762                    label);
    765763                if (rc != EOK && rc != ENOTSUP) {
    766764                        rc = EIO;
Note: See TracChangeset for help on using the changeset viewer.