Make dialect negotiation warning message easier to read
authorSteve French <smfrench@gmail.com>
Thu, 18 Jun 2015 10:07:52 +0000 (05:07 -0500)
committerSteve French <steve.french@primarydata.com>
Sun, 28 Jun 2015 03:28:49 +0000 (20:28 -0700)
Dialect version and minor version are easier to read in hex

Signed-off-by: Steve French <steve.french@primarydata.com>
fs/cifs/smb2pdu.c

index 1270806376eb80dd6daee8a4362c691a2a5b3f50..0479e3c87a2c4d45220acb7cc2f1dbe7f792ffeb 100644 (file)
@@ -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;