Changeset c1694b6b in mainline for uspace/app/sysinst/sysinst.c


Ignore:
Timestamp:
2017-12-08T21:03:35Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f77c1c9
Parents:
9eb1ff5
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
Message:

Add str_error() in numerous places.

File:
1 edited

Legend:

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

    r9eb1ff5 rc1694b6b  
    4444#include <stdio.h>
    4545#include <stdlib.h>
     46#include <str_error.h>
    4647#include <task.h>
    4748#include <vfs/vfs.h>
     
    117118        rc = fdisk_label_create(fdev, lt_mbr);
    118119        if (rc != EOK) {
    119                 printf("Error creating label (%d).\n", rc);
     120                printf("Error creating label: %s.\n", str_error(rc));
    120121                return rc;
    121122        }
     
    125126        rc = fdisk_part_get_max_avail(fdev, spc_pri, &cap);
    126127        if (rc != EOK) {
    127                 printf("Error getting available capacity (%d).\n", rc);
     128                printf("Error getting available capacity: %s.\n", str_error(rc));
    128129                return rc;
    129130        }
Note: See TracChangeset for help on using the changeset viewer.