Commit 6948c419 authored by Pavel Emelyanov's avatar Pavel Emelyanov

files: Print unsupported files' mode in %o format

The constatns are in octal in all headers.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6a54f174
......@@ -182,7 +182,7 @@ static int fill_fd_params(struct parasite_ctl *ctl, int fd, int lfd,
static int dump_unsupp_fd(const struct fd_parms *p)
{
pr_err("Can't dump file %d of that type [%#x]\n",
pr_err("Can't dump file %d of that type [%o]\n",
p->fd, p->stat.st_mode);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment