summaryrefslogtreecommitdiff
path: root/UConfig.pas
diff options
context:
space:
mode:
Diffstat (limited to 'UConfig.pas')
-rw-r--r--UConfig.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/UConfig.pas b/UConfig.pas
index edaac1b..d0e536f 100644
--- a/UConfig.pas
+++ b/UConfig.pas
@@ -1102,7 +1102,7 @@ begin
Result := -1;
StatBuf := malloc(sizeof(Tstat64));
memset(StatBuf, 0, sizeof(Tstat64));
- if lstat64(PChar(FileName), StatBuf) = 0 then Result := StatBuf^.st_mtim.tv_sec;
+ if lstat64(PChar(FileName), StatBuf) = 0 then Result := StatBuf^.st_mtime;
libc_free(StatBuf);
end;