Skip to content
Snippets Groups Projects
Commit 0179e3a3 authored by patacongo's avatar patacongo
Browse files

Fix compile error

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@863 42af7a65-404d-4744-a932-0658087f49c3
parent 4f58db9c
No related branches found
No related tags found
No related merge requests found
......@@ -45,8 +45,6 @@
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "lib_internal.h"
......@@ -114,7 +112,7 @@ int fgetpos(FILE *stream, fpos_t *pos)
}
#endif
position = ftell(stream, (off_t)*pos, SEEK_SET);
position = ftell(stream);
if (position == -1)
{
return ERROR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment