diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 09:31:18 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 09:31:18 +0100 |
| commit | 48e6eede2a7e96633c6aa72faef7388f3b7abe1b (patch) | |
| tree | b2371534a7ce332bcf51d7ddc167d7e8703a7f51 /biosdecode.c | |
| parent | 208d5c5ff5bdc5d607218f8dddbcb8be0850a551 (diff) | |
| parent | 22f77b46ab555f57523990094a3e40a55f2c492a (diff) | |
Update upstream source from tag 'upstream/3.7'
Update to upstream version '3.7'
with Debian dir c76a11fb141eff6613876ec76a3b73ff59e2e1a2
Diffstat (limited to 'biosdecode.c')
| -rw-r--r-- | biosdecode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/biosdecode.c b/biosdecode.c index 99a27fe..c387276 100644 --- a/biosdecode.c +++ b/biosdecode.c @@ -2,7 +2,7 @@ * BIOS Decode * * Copyright (C) 2000-2002 Alan Cox <alan@redhat.com> - * Copyright (C) 2002-2017 Jean Delvare <jdelvare@suse.de> + * Copyright (C) 2002-2025 Jean Delvare <jdelvare@suse.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -111,8 +111,8 @@ static int smbios3_decode(const u8 *p, size_t len) p[0x07], p[0x08], p[0x09]); printf("\tStructure Table Maximum Length: %u bytes\n", DWORD(p + 0x0C)); - printf("\tStructure Table 64-bit Address: 0x%08X%08X\n", - QWORD(p + 0x10).h, QWORD(p + 0x10).l); + printf("\tStructure Table 64-bit Address: 0x%016llX\n", + QWORD(p + 0x10)); return 1; } @@ -284,8 +284,8 @@ static int acpi_decode(const u8 *p, size_t len) if (DWORD(p + 20) < 32) return 1; - printf("\tXSD Table 64-bit Address: 0x%08X%08X\n", - QWORD(p + 24).h, QWORD(p + 24).l); + printf("\tXSD Table 64-bit Address: 0x%016llX\n", + QWORD(p + 24)); return 1; } |
