Changes in uspace/srv/fs/mfs/mfs.c [b7fd2a0:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs.c
rb7fd2a0 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> … … 59 58 int main(int argc, char **argv) 60 59 { 61 errno_t rc;60 int rc; 62 61 63 62 printf(NAME ": HelenOS Minix file system server\n"); … … 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.