diff options
author | Thomas White <taw@physics.org> | 2023-08-28 14:59:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-08-28 14:59:10 +0200 |
commit | 29ea5fd743b0177b0ab7c04976f6565ff536b39f (patch) | |
tree | f5fc872f931bf8870ffcabdbf7f1ff8fbb9c2661 /src | |
parent | f86994d4fa84b0767e2cfc2c35e2735c53c97a7c (diff) |
align_detector: stat() portability
Diffstat (limited to 'src')
-rw-r--r-- | src/align_detector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/align_detector.c b/src/align_detector.c index e17ef107..49bf6445 100644 --- a/src/align_detector.c +++ b/src/align_detector.c @@ -310,9 +310,9 @@ int main(int argc, char *argv[]) } if ( i == optind ) { - first_mtime = statbuf.st_mtim.tv_sec; + first_mtime = statbuf.st_mtime; } else { - if ( different(statbuf.st_mtim.tv_sec, first_mtime) ) { + if ( different(statbuf.st_mtime, first_mtime) ) { warn_times = 1; } } |