Changeset 132ab5d1 in mainline for uspace/srv/fs/mfs/mfs.c
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/srv/fs/mfs/mfs.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs.c
r8bfb163 r132ab5d1 44 44 #include <async.h> 45 45 #include <errno.h> 46 #include <str_error.h> 46 47 #include <task.h> 47 48 #include <stdio.h> … … 67 68 else { 68 69 printf(NAME " Unrecognized parameters"); 69 rc = -1;70 rc = EINVAL; 70 71 goto err; 71 72 } … … 77 78 if (!vfs_sess) { 78 79 printf(NAME ": failed to connect to VFS\n"); 79 return -1; 80 rc = errno; 81 goto err; 80 82 } 81 83 … … 97 99 98 100 err: 99 printf(NAME ": Failed to register file system (%d)\n", rc);101 printf(NAME ": Failed to register file system: %s\n", str_error(rc)); 100 102 return rc; 101 103 }
Note:
See TracChangeset
for help on using the changeset viewer.
