Commit bc312d32 authored by Pavel Emelyanov's avatar Pavel Emelyanov

mnt: Fix void argument for reading mnt images helper

Acked-by: 's avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent dd43b3c5
......@@ -1530,7 +1530,7 @@ err:
return -1;
}
static struct mount_info *read_mnt_ns_img()
static struct mount_info *read_mnt_ns_img(void)
{
struct mount_info *pms = NULL;
struct ns_id *nsid;
......@@ -1727,7 +1727,7 @@ int prepare_mnt_ns(int ns_pid)
close_proc();
mis = read_mnt_ns_img(ns_pid);
mis = read_mnt_ns_img();
if (!mis)
goto out;
......
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