about summary refs log tree commit diff homepage
path: root/meta.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--meta.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta.c b/meta.c
index 90577d1..5e1736e 100644
--- a/meta.c
+++ b/meta.c
@@ -28,15 +28,16 @@ int main() {
 		if (ferror(stdin)) err(EX_IOERR, "(stdin)");
 		if (!count) return EX_OK;
 
+		struct Meta meta = tileMeta(&tile);
 		printf(
 			"%d,%d,%jd,%u,%jd,%u,%jd\n",
 			i % TileCols,
 			i / TileCols,
-			tile.meta.createTime,
-			tile.meta.modifyCount,
-			tile.meta.modifyTime,
-			tile.meta.accessCount,
-			tile.meta.accessTime
+			meta.createTime,
+			meta.modifyCount,
+			meta.modifyTime,
+			meta.accessCount,
+			meta.accessTime
 		);
 	}
 }