Changes in uspace/srv/fs/mfs/mfs.c [1569a9b:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs.c
r1569a9b r582a0b8 44 44 #include <async.h> 45 45 #include <errno.h> 46 #include <str_error.h>47 46 #include <task.h> 48 47 #include <stdio.h> … … 68 67 else { 69 68 printf(NAME " Unrecognized parameters"); 70 rc = EINVAL;69 rc = -1; 71 70 goto err; 72 71 } … … 78 77 if (!vfs_sess) { 79 78 printf(NAME ": failed to connect to VFS\n"); 80 rc = errno; 81 goto err; 79 return -1; 82 80 } 83 81 … … 99 97 100 98 err: 101 printf(NAME ": Failed to register file system : %s\n", str_error(rc));99 printf(NAME ": Failed to register file system (%d)\n", rc); 102 100 return rc; 103 101 }
Note:
See TracChangeset
for help on using the changeset viewer.