Commit e2e4fb12 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

files: Use FD_PARMS_INIT in dump_one_file

For consistency sake.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1ead3d79
......@@ -210,7 +210,7 @@ static int dump_chrdev(struct fd_parms *p, int lfd, const int fdinfo)
static int dump_one_file(struct parasite_ctl *ctl, int fd, int lfd, struct fd_opts *opts,
const int fdinfo)
{
struct fd_parms p;
struct fd_parms p = FD_PARMS_INIT;
struct statfs statfs;
if (fill_fd_params(ctl, fd, lfd, opts, &p) < 0) {
......
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