Changeset c81d4f1 in mainline for uspace/app/init/init.c
- Timestamp:
- 2018-01-04T20:50:53Z (6 years ago)
- Children:
- 3b47db6
- Parents:
- 847844a
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r847844a rc81d4f1 81 81 const char *fstype, const char *dev, errno_t rc) 82 82 { 83 switch ( (case_errno_t)rc) {84 case (case_errno_t)EOK:83 switch (rc) { 84 case EOK: 85 85 if (dev != NULL) 86 86 printf("%s: %s mounted on %s (%s at %s)\n", NAME, desc, mntpt, … … 89 89 printf("%s: %s mounted on %s (%s)\n", NAME, desc, mntpt, fstype); 90 90 break; 91 case (case_errno_t)EBUSY:91 case EBUSY: 92 92 printf("%s: %s already mounted on %s\n", NAME, desc, mntpt); 93 93 return false; 94 case (case_errno_t)ELIMIT:94 case ELIMIT: 95 95 printf("%s: %s limit exceeded\n", NAME, desc); 96 96 return false; 97 case (case_errno_t)ENOENT:97 case ENOENT: 98 98 printf("%s: %s unknown type (%s)\n", NAME, desc, fstype); 99 99 return false;
Note:
See TracChangeset
for help on using the changeset viewer.