2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

pipe: Remove ID arg from pipe data dump fn

This routine checks for pipe data being dumped based on pipe ID, but the arg in questoin
is the pipe's end ID which makes code reading confusing.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-07-01 07:50:39 +04:00
parent e23c9e0cda
commit 499cc6789b
3 changed files with 7 additions and 6 deletions

2
fifo.c
View File

@@ -58,7 +58,7 @@ static int dump_one_fifo(int lfd, u32 id, const struct fd_parms *p)
if (write_img(img, &e) < 0)
return -1;
return dump_one_pipe_data(CR_FD_FIFO_DATA, lfd, id, p);
return dump_one_pipe_data(CR_FD_FIFO_DATA, lfd, p);
}
static const struct fdtype_ops fifo_ops = {