fixed simple typo in ikarus-io.c
This commit is contained in:
parent
e3a7a875a4
commit
abeaa5d561
|
@ -1 +1 @@
|
||||||
1683
|
1684
|
||||||
|
|
|
@ -313,7 +313,7 @@ ikrt_file_ctime2(ikptr filename, ikpcb* pcb){
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
ts.tv_sec = s.st_ctime;
|
ts.tv_sec = s.st_ctime;
|
||||||
ts.tv_nsec = 0;
|
ts.tv_nsec = 0;
|
||||||
return timespec_bytevector(&st, pcb);
|
return timespec_bytevector(&ts, pcb);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -332,7 +332,7 @@ ikrt_file_mtime2(ikptr filename, ikpcb* pcb){
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
ts.tv_sec = s.st_mtime;
|
ts.tv_sec = s.st_mtime;
|
||||||
ts.tv_nsec = 0;
|
ts.tv_nsec = 0;
|
||||||
return timespec_bytevector(&st, pcb);
|
return timespec_bytevector(&ts, pcb);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue