summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/logfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/logfiles.c b/src/bin/logfiles.c
index b1297ad..bbe69de 100644
--- a/src/bin/logfiles.c
+++ b/src/bin/logfiles.c
@@ -146,7 +146,7 @@ int logfiles_getend(char *logfile, fpos_t *pos_end)
146 EINA_LOG_DOM_ERR(einadom_logfiles, "Can't open %s : %s", logfile, strerror(errno)); 146 EINA_LOG_DOM_ERR(einadom_logfiles, "Can't open %s : %s", logfile, strerror(errno));
147 return(-1); 147 return(-1);
148 } 148 }
149 fseek(fp, 0L, SEEK_END); 149 fseeko(fp, 0L, SEEK_END);
150 fgetpos(fp, pos_end); 150 fgetpos(fp, pos_end);
151 151
152 fclose(fp); 152 fclose(fp);