From d90a69b95372c5fe8ec43192f570a678d8cd0d0d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 20 Aug 2019 09:26:10 -0600 Subject: [PATCH] Fix regression in visium caused by sys/stat.h change --- libgloss/visium/io-gdb.c | 6 +++--- libgloss/visium/io.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libgloss/visium/io-gdb.c b/libgloss/visium/io-gdb.c index 4f16b2f7b..e662226e3 100644 --- a/libgloss/visium/io-gdb.c +++ b/libgloss/visium/io-gdb.c @@ -94,9 +94,9 @@ __hosted_from_gdb_stat (const struct gdb_stat *gs, s->st_size = gs->st_size; s->st_blksize = gs->st_blksize; s->st_blocks = gs->st_blocks; - s->st_atime = gs->st_atime; - s->st_mtime = gs->st_mtime; - s->st_ctime = gs->st_ctime; + s->st_atime = gs->st_atim; + s->st_mtime = gs->st_mtim; + s->st_ctime = gs->st_ctim; } void diff --git a/libgloss/visium/io.h b/libgloss/visium/io.h index a1bb879fb..9cb76ea30 100644 --- a/libgloss/visium/io.h +++ b/libgloss/visium/io.h @@ -57,9 +57,9 @@ struct gdb_stat { uint64_t st_size; /* total size, in bytes */ uint64_t st_blksize; /* blocksize for filesystem I/O */ uint64_t st_blocks; /* number of blocks allocated */ - gdb_time_t st_atime; /* time of last access */ - gdb_time_t st_mtime; /* time of last modification */ - gdb_time_t st_ctime; /* time of last change */ + gdb_time_t st_atim; /* time of last access */ + gdb_time_t st_mtim; /* time of last modification */ + gdb_time_t st_ctim; /* time of last change */ }; struct gdb_timeval {