diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2020-12-29 12:00:33 -0800 |
---|---|---|
committer | Pavel Shilovsky <pshilov@microsoft.com> | 2020-12-30 17:41:27 -0800 |
commit | 16af2c4ac8e9643030deb88e030fa8d9a0f280b9 (patch) | |
tree | e31fe15663fd022e11922f24bbdcd7bd67d4c37b /smbinfo | |
parent | 85a7865d6e21b5b58d0c733d6c4c7bf3581e78f8 (diff) | |
download | cifs-utils-16af2c4ac8e9643030deb88e030fa8d9a0f280b9.tar.gz cifs-utils-16af2c4ac8e9643030deb88e030fa8d9a0f280b9.tar.bz2 cifs-utils-16af2c4ac8e9643030deb88e030fa8d9a0f280b9.zip |
smbinfo: fix fsctl-getobjid output
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'smbinfo')
-rwxr-xr-x | smbinfo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -527,7 +527,7 @@ def print_filestandardinfo(buf): print("Delete Directory: %d"%del_dir) def guid_to_str(buf): - return "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x"%struct.unpack_from('<ISSBBBBBBBB', buf, 0) + return "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x"%struct.unpack_from('<IHHBBBBBBBB', buf, 0) def cmd_fsctl_getobjid(args): qi = QueryInfoStruct(info_type=0x9009c, file_info_class=5, flags=PASSTHRU_FSCTL, input_buffer_length=64) |