Ignore:
Timestamp:
2017-03-30T19:52:23Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ae7bfbbd
Parents:
b5b5d84
Message:

Rename stat() to vfs_stat_path() and fstat() to vfs_stat()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/cat/cat.c

    rb5b5d84 r23a0368  
    3131#include <stdlib.h>
    3232#include <unistd.h>
    33 #include <sys/stat.h>
    3433#include <getopt.h>
    3534#include <str.h>
     
    214213                struct stat st;
    215214
    216                 if (fstat(fd, &st) != EOK) {
     215                if (vfs_stat(fd, &st) != EOK) {
    217216                        close(fd);
    218217                        free(buff);
    219                         printf("Unable to fstat %d\n", fd);
     218                        printf("Unable to vfs_stat %d\n", fd);
    220219                        return 1;
    221220                }
Note: See TracChangeset for help on using the changeset viewer.