From 7111d2144f17155b66e89b3655fcddbedefcf8a6 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Tue, 16 Oct 2007 16:50:25 +0000 Subject: [PATCH] [CIFS] [CIFS] fix error message about packet signing When packet signing is disabled and the server requires it, cifs prints an error message. The current message refers to a file in /proc that no longer exists. Fix it to refer to the correct file. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- fs/cifs/cifssmb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index b17983633a..9eef724925 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -661,8 +661,8 @@ signing_check: cFYI(1, ("Signing disabled")); if (server->secMode & SECMODE_SIGN_REQUIRED) cERROR(1, ("Server requires " - "/proc/fs/cifs/PacketSigningEnabled " - "to be on")); + "packet signing to be enabled in " + "/proc/fs/cifs/SecurityFlags.")); server->secMode &= ~(SECMODE_SIGN_ENABLED | SECMODE_SIGN_REQUIRED); } else if ((secFlags & CIFSSEC_MUST_SIGN) == CIFSSEC_MUST_SIGN) { -- 2.39.5