From: Robert Pengelly Date: Fri, 19 Jul 2024 23:49:28 +0000 (+0100) Subject: Update mls to use the new variable name X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=38869d95ac25b72f603887aa2939761d0c27d6ef;p=dosfstools.git Update mls to use the new variable name --- 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");