Cygwin: /dev/disk/by-uuid: Fix NTFS serial number print format

Signed-off-by: Christian Franke <christian.franke@t-online.de>
This commit is contained in:
Christian Franke 2023-11-20 15:40:42 +01:00 committed by Corinna Vinschen
parent 37e67d1595
commit d36b4f3f06
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ partition_to_label_or_uuid(bool uuid, const UNICODE_STRING *drive_uname,
&& nvdb->VolumeSerialNumber.QuadPart)
{
/* Print without any separator as on Linux. */
__small_sprintf (name, "%16X", nvdb->VolumeSerialNumber.QuadPart);
__small_sprintf (name, "%016X", nvdb->VolumeSerialNumber.QuadPart);
NtClose(volhdl);
return true;
}