Changeset c1694b6b in mainline for uspace/app/sysinst/sysinst.c
- Timestamp:
- 2017-12-08T21:03:35Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/sysinst.c
r9eb1ff5 rc1694b6b 44 44 #include <stdio.h> 45 45 #include <stdlib.h> 46 #include <str_error.h> 46 47 #include <task.h> 47 48 #include <vfs/vfs.h> … … 117 118 rc = fdisk_label_create(fdev, lt_mbr); 118 119 if (rc != EOK) { 119 printf("Error creating label (%d).\n", rc);120 printf("Error creating label: %s.\n", str_error(rc)); 120 121 return rc; 121 122 } … … 125 126 rc = fdisk_part_get_max_avail(fdev, spc_pri, &cap); 126 127 if (rc != EOK) { 127 printf("Error getting available capacity (%d).\n", rc);128 printf("Error getting available capacity: %s.\n", str_error(rc)); 128 129 return rc; 129 130 }
Note:
See TracChangeset
for help on using the changeset viewer.