Rev 4345 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4345 | Rev 4348 | ||
---|---|---|---|
Line 126... | Line 126... | ||
126 | 126 | ||
127 | int main(int argc, char **argv) |
127 | int main(int argc, char **argv) |
128 | { |
128 | { |
129 | printf(NAME ": HelenOS TMPFS file system server\n"); |
129 | printf(NAME ": HelenOS TMPFS file system server\n"); |
130 | 130 | ||
- | 131 | if (!tmpfs_init()) { |
|
- | 132 | printf(NAME ": failed to initialize TMPFS\n"); |
|
- | 133 | return -1; |
|
- | 134 | } |
|
- | 135 | ||
131 | int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); |
136 | int vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0); |
132 | if (vfs_phone < EOK) { |
137 | if (vfs_phone < EOK) { |
133 | printf(NAME ": Unable to connect to VFS\n"); |
138 | printf(NAME ": Unable to connect to VFS\n"); |
134 | return -1; |
139 | return -1; |
135 | } |
140 | } |