Эх сурвалжийг харах

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>
Steve French 10 жил өмнө
parent
commit
f799d6234b

+ 1 - 1
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");
 		cifs_dbg(FYI, "negotiated smb3.1.1 dialect\n");
 #endif /* SMB311 */
 #endif /* SMB311 */
 	else {
 	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));
 			 le16_to_cpu(rsp->DialectRevision));
 		rc = -EIO;
 		rc = -EIO;
 		goto neg_exit;
 		goto neg_exit;