diff options
Diffstat (limited to 'project/src/wszst.c')
| -rw-r--r-- | project/src/wszst.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/project/src/wszst.c b/project/src/wszst.c index 15100f2..595d1d9 100644 --- a/project/src/wszst.c +++ b/project/src/wszst.c @@ -1785,11 +1785,7 @@ static enumError cmd_sha1() { if (long_count>1) { - #if HAVE_FILEATTRIB_NSEC - struct tm * tm = localtime(&szs.fatt.mtime.tv_sec); - #else - struct tm * tm = localtime(&szs.fatt.mtime); - #endif + struct tm * tm = localtime(&FILEATTRIB_SEC(szs.fatt.mtime)); char timbuf[40]; strftime(timbuf,sizeof(timbuf),"%F %T ",tm); fputs(timbuf,stdout); |
