Changes in uspace/srv/fs/mfs/mfs.c [582a0b8:1569a9b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs.c
r582a0b8 r1569a9b 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.