From 38869d95ac25b72f603887aa2939761d0c27d6ef Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Sat, 20 Jul 2024 00:49:28 +0100 Subject: [PATCH] Update mls to use the new variable name --- mls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mls.c b/mls.c index 5b1d9c6..b8e311e 100644 --- a/mls.c +++ b/mls.c @@ -1047,7 +1047,7 @@ int main (int argc, char **argv) { timestamp = (unsigned short) de.date[0] | (((unsigned short) de.date[1]) << 8); printf (" %04d-%02d-%02d", ((timestamp >> 9) & 0x3f) + 1980, (timestamp >> 5) & 0x0f, timestamp & 0x1f); - timestamp = (unsigned short) de.time[0] | (((unsigned short) de.time[1]) << 8); + timestamp = (unsigned short) de.xtime[0] | (((unsigned short) de.xtime[1]) << 8); printf (" %02d:%02d:%02d", (timestamp >> 11) & 0x3f, (timestamp >> 5) & 0x3f, (timestamp & 0x1f) << 1); printf ("\n"); -- 2.34.1