Commit 5059cc7b authored by Stanislav Kinsbursky's avatar Stanislav Kinsbursky Committed by Cyrill Gorcunov
parent 6079c509
......@@ -166,12 +166,12 @@ static void show_ipc_entry(struct ipc_ns_entry *entry)
static void show_ipc_data(int fd)
{
int ret;
struct ipc_ns_data ipc;
struct ipc_ns_entry entry;
ret = read_img_eof(fd, &ipc);
ret = read_img_eof(fd, &entry);
if (ret <= 0)
return;
show_ipc_entry(&ipc.entry);
show_ipc_entry(&entry);
}
void show_ipc_ns(int fd)
......
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