Changeset 23a0368 in mainline for uspace/app/bdsh/cmds/modules/cat/cat.c
- Timestamp:
- 2017-03-30T19:52:23Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae7bfbbd
- Parents:
- b5b5d84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
rb5b5d84 r23a0368 31 31 #include <stdlib.h> 32 32 #include <unistd.h> 33 #include <sys/stat.h>34 33 #include <getopt.h> 35 34 #include <str.h> … … 214 213 struct stat st; 215 214 216 if ( fstat(fd, &st) != EOK) {215 if (vfs_stat(fd, &st) != EOK) { 217 216 close(fd); 218 217 free(buff); 219 printf("Unable to fstat %d\n", fd);218 printf("Unable to vfs_stat %d\n", fd); 220 219 return 1; 221 220 }
Note:
See TracChangeset
for help on using the changeset viewer.