fixed simple typo in ikarus-io.c

This commit is contained in:
Abdulaziz Ghuloum 2008-11-16 04:37:17 -05:00
parent e3a7a875a4
commit abeaa5d561
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
1683
1684

View File

@ -313,7 +313,7 @@ ikrt_file_ctime2(ikptr filename, ikpcb* pcb){
struct timespec ts;
ts.tv_sec = s.st_ctime;
ts.tv_nsec = 0;
return timespec_bytevector(&st, pcb);
return timespec_bytevector(&ts, pcb);
#endif
}
@ -332,7 +332,7 @@ ikrt_file_mtime2(ikptr filename, ikpcb* pcb){
struct timespec ts;
ts.tv_sec = s.st_mtime;
ts.tv_nsec = 0;
return timespec_bytevector(&st, pcb);
return timespec_bytevector(&ts, pcb);
#endif
}