diff options
author | Frank Sorenson <sorenson@redhat.com> | 2020-02-12 15:31:48 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-02-12 22:24:26 -0600 |
commit | f52aa79df43c4509146140de0241bc21a4a3b4c7 (patch) | |
tree | a168ae49d4300dace35d5ccf83d0e9f22d82bc8d /fs/cifs/inode.c | |
parent | 3f6166aaf19902f2f3124b5426405e292e8974dd (diff) | |
download | linux-f52aa79df43c4509146140de0241bc21a4a3b4c7.tar.bz2 |
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 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 9ba623b601ec..b5e6635c578e 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -1648,7 +1648,7 @@ int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode) struct TCP_Server_Info *server; char *full_path; - cifs_dbg(FYI, "In cifs_mkdir, mode = 0x%hx inode = 0x%p\n", + cifs_dbg(FYI, "In cifs_mkdir, mode = %04ho inode = 0x%p\n", mode, inode); cifs_sb = CIFS_SB(inode->i_sb); |