From f799d6234b6f871ff0fc0d3d2f6f47c4df4505b7 Mon Sep 17 00:00:00 2001 From: Steve French Date: Thu, 18 Jun 2015 05:07:52 -0500 Subject: Make dialect negotiation warning message easier to read Dialect version and minor version are easier to read in hex Signed-off-by: Steve French --- fs/cifs/smb2pdu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/cifs') 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; -- cgit v1.2.1