Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/devfs/devfs_ops.c

    r19f857a r472c09d  
    3737
    3838#include <ipc/ipc.h>
    39 #include <macros.h>
    4039#include <bool.h>
    4140#include <errno.h>
    4241#include <malloc.h>
    43 #include <str.h>
     42#include <string.h>
    4443#include <libfs.h>
    4544#include <fibril_synch.h>
     
    338337}
    339338
    340 static aoff64_t devfs_size_get(fs_node_t *fn)
     339static size_t devfs_size_get(fs_node_t *fn)
    341340{
    342341        return 0;
     
    420419       
    421420        /* Accept the mount options */
    422         ipcarg_t retval = async_data_write_accept((void **) &opts, true, 0, 0,
    423             0, NULL);
     421        ipcarg_t retval = async_string_receive(&opts, 0, NULL);
    424422        if (retval != EOK) {
    425423                ipc_answer_0(rid, retval);
     
    464462{
    465463        fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request);
    466         aoff64_t pos =
    467             (aoff64_t) MERGE_LOUP32(IPC_GET_ARG3(*request), IPC_GET_ARG4(*request));
     464        off_t pos = (off_t) IPC_GET_ARG3(*request);
    468465       
    469466        if (index == 0) {
     
    599596{
    600597        fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request);
     598        off_t pos = (off_t) IPC_GET_ARG3(*request);
     599       
    601600        if (index == 0) {
    602601                ipc_answer_0(rid, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.