summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-06-18 05:07:52 -0500
committerSteve French <steve.french@primarydata.com>2015-06-27 20:28:49 -0700
commitf799d6234b6f871ff0fc0d3d2f6f47c4df4505b7 (patch)
tree0e99e7f95de0df68fe637b7ebf47a5b04eb5df95 /fs/cifs/smb2pdu.c
parenteed0e1753cbe7a30758ad2ee5e2742dd7fda2c41 (diff)
downloadlinux-f799d6234b6f871ff0fc0d3d2f6f47c4df4505b7.tar.gz
linux-f799d6234b6f871ff0fc0d3d2f6f47c4df4505b7.tar.bz2
linux-f799d6234b6f871ff0fc0d3d2f6f47c4df4505b7.zip
Make dialect negotiation warning message easier to read
Dialect version and minor version are easier to read in hex Signed-off-by: Steve French <steve.french@primarydata.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r--fs/cifs/smb2pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 1270806376eb..0479e3c87a2c 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -398,7 +398,7 @@ SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses)
cifs_dbg(FYI, "negotiated smb3.1.1 dialect\n");
#endif /* SMB311 */
else {
- cifs_dbg(VFS, "Illegal dialect returned by server %d\n",
+ cifs_dbg(VFS, "Illegal dialect returned by server 0x%x\n",
le16_to_cpu(rsp->DialectRevision));
rc = -EIO;
goto neg_exit;