Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs.c

    r5a6cc679 ra35b458  
    5050#include <task.h>
    5151#include <libfs.h>
     52#include <str.h>
    5253#include "../../vfs/vfs.h"
    5354
     
    7475                }
    7576        }
    76        
     77
    7778        if (!tmpfs_init()) {
    7879                printf(NAME ": failed to initialize TMPFS\n");
    7980                return -1;
    8081        }
    81        
     82
    8283        async_sess_t *vfs_sess = service_connect_blocking(SERVICE_VFS,
    8384            INTERFACE_VFS_DRIVER, 0);
     
    8687                return -1;
    8788        }
    88        
     89
    8990        errno_t rc = fs_register(vfs_sess, &tmpfs_vfs_info, &tmpfs_ops,
    9091            &tmpfs_libfs_ops);
     
    9394                return rc;
    9495        }
    95        
     96
    9697        printf(NAME ": Accepting connections\n");
    9798        task_retval(0);
    9899        async_manager();
    99        
     100
    100101        /* Not reached */
    101102        return 0;
Note: See TracChangeset for help on using the changeset viewer.