aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorFrank Sorenson <sorenson@redhat.com>2020-02-12 15:31:48 -0600
committerSteve French <stfrench@microsoft.com>2020-02-12 22:24:26 -0600
commitf52aa79df43c4509146140de0241bc21a4a3b4c7 (patch)
treea168ae49d4300dace35d5ccf83d0e9f22d82bc8d /fs/cifs/connect.c
parentcifs: fix mount option display for sec=krb5i (diff)
downloadlinux-dev-f52aa79df43c4509146140de0241bc21a4a3b4c7.tar.xz
linux-dev-f52aa79df43c4509146140de0241bc21a4a3b4c7.zip
cifs: Fix mode output in debugging statements
A number of the debug statements output file or directory mode in hex. Change these to print using octal. Signed-off-by: Frank Sorenson <sorenson@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index a941ac7a659d..4804d1df8c1c 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -4151,7 +4151,7 @@ int cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
cifs_sb->mnt_gid = pvolume_info->linux_gid;
cifs_sb->mnt_file_mode = pvolume_info->file_mode;
cifs_sb->mnt_dir_mode = pvolume_info->dir_mode;
- cifs_dbg(FYI, "file mode: 0x%hx dir mode: 0x%hx\n",
+ cifs_dbg(FYI, "file mode: %04ho dir mode: %04ho\n",
cifs_sb->mnt_file_mode, cifs_sb->mnt_dir_mode);
cifs_sb->actimeo = pvolume_info->actimeo;