Commit da4d808a authored by Kinsbursky Stanislav's avatar Kinsbursky Stanislav Committed by Pavel Emelyanov

protobuf: use pb-vertical show function for fs

Signed-off-by: 's avatarStanislav Kinsbursky <skinsbursky@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent caea044a
...@@ -120,17 +120,7 @@ void show_fifo(int fd, struct cr_options *o) ...@@ -120,17 +120,7 @@ void show_fifo(int fd, struct cr_options *o)
void show_fs(int fd_fs, struct cr_options *o) void show_fs(int fd_fs, struct cr_options *o)
{ {
FsEntry *fe; pb_show_vertical(fd_fs, fs_entry);
pr_img_head(CR_FD_FS);
if (pb_read_eof(fd_fs, &fe, fs_entry) > 0) {
pr_msg("CWD : %#x\n", fe->cwd_id);
pr_msg("ROOT: %#x\n", fe->root_id);
fs_entry__free_unpacked(fe, NULL);
}
pr_img_tail(CR_FD_FS);
} }
void show_vmas(int fd_vma, struct cr_options *o) void show_vmas(int fd_vma, struct cr_options *o)
......
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