From: Pavel Shilovsky Date: Sat, 8 Jul 2017 21:17:37 +0000 (-0700) Subject: CIFS: Display SMB2 error codes in the hex format X-Git-Tag: v4.14-rc1~496^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4395d484b98154b28f895b722681710bdd40376c;p=platform%2Fkernel%2Flinux-rpi.git CIFS: Display SMB2 error codes in the hex format Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- diff --git a/fs/cifs/smb2maperror.c b/fs/cifs/smb2maperror.c index 3030a9d..7ca9808 100644 --- a/fs/cifs/smb2maperror.c +++ b/fs/cifs/smb2maperror.c @@ -2475,8 +2475,8 @@ map_smb2_to_linux_error(char *buf, bool log_err) /* on error mapping not found - return EIO */ - cifs_dbg(FYI, "Mapping SMB2 status code %d to POSIX err %d\n", - smb2err, rc); + cifs_dbg(FYI, "Mapping SMB2 status code 0x%08x to POSIX err %d\n", + __le32_to_cpu(smb2err), rc); return rc; }