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:
parent
37e67d1595
commit
d36b4f3f06
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue